test/dummy/log/test.log in adherent-0.1.0 vs test/dummy/log/test.log in adherent-0.1.1
- old
+ new
@@ -1,5582 +1,12918 @@
Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
+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 `<class:TestCase>'
+/home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `<top (required)>'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `<top (required)>'
+/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 <main>'
+/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 <main>'
+/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 `<main>'
+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 `<class:TestCase>'
+/home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `<top (required)>'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `<top (required)>'
+/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 <main>'
+/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 <main>'
+/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 `<main>'
+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 `<class:TestCase>'
+/home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `<top (required)>'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `<top (required)>'
+/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 <main>'
+/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 <main>'
+/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 `<main>'
+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 `<class:TestCase>'
+/home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `<top (required)>'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `<top (required)>'
+/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 <main>'
+/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 <main>'
+/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 `<main>'
Connecting to database specified by database.yml
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.5ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.8ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (8.2ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.9ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (5.7ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+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 `<class:TestCase>'
+/home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `<top (required)>'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `<top (required)>'
+/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 <main>'
+/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 <main>'
+/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 `<main>'
+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 `<class:TestCase>'
+/home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `<top (required)>'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `<top (required)>'
+/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 <main>'
+/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 <main>'
+/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 `<main>'
+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 `<class:TestCase>'
+/home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `<top (required)>'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `<top (required)>'
+/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 <main>'
+/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 <main>'
+/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 `<main>'
+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 `<class:TestCase>'
+/home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `<top (required)>'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `<top (required)>'
+/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 <main>'
+/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 <main>'
+/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 `<main>'
Connecting to database specified by database.yml
- [1m[36m (2.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (2.5ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (2.8ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.6ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (3.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (3.3ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (5.3ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (2.9ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (1.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (1.2ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (1.0ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.8ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.8ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (68.8ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.4ms)[0m BEGIN
+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 `<class:TestCase>'
+/home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `<top (required)>'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `<top (required)>'
+/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 <main>'
+/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 <main>'
+/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 `<main>'
+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 `<class:TestCase>'
+/home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `<top (required)>'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `<top (required)>'
+/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 <main>'
+/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 <main>'
+/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 `<main>'
+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 `<class:TestCase>'
+/home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `<top (required)>'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `<top (required)>'
+/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 <main>'
+/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 <main>'
+/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 `<main>'
+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 `<class:TestCase>'
+/home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `<top (required)>'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `<top (required)>'
+/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 <main>'
+/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 <main>'
+/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 `<main>'
+ [1m[36m (427.6ms)[0m [1mALTER 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[0m
+ [1m[35m (0.3ms)[0m BEGIN
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (62.2ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « member » de la relation « adherent_adhesions » n'existe pas
-LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "member", ...
+ [1m[35mFixture Insert (81.8ms)[0m 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)
+ [1m[36mFixture Delete (7.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (31.8ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (4.1ms)[0m 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)
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (149.5ms)[0m 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_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
+: 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)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (2.3ms)[0m BEGIN
+ [1m[36mFixture Delete (4.0ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (1.8ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (3.9ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (5.7ms)[0m BEGIN
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (1.0ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « member » de la relation « adherent_adhesions » n'existe pas
-LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "member", ...
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (3.5ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (3.5ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
+: 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)
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (5.0ms)[0m BEGIN
+ [1m[36mFixture Delete (6.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « member » de la relation « adherent_adhesions » n'existe pas
-LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "member", ...
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (1.4ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
+: 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)
+ [1m[36m (3.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.8ms)[0m [1mALTER 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[0m
+ [1m[35m (6.2ms)[0m BEGIN
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.7ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « member » de la relation « adherent_adhesions » n'existe pas
-LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "member", ...
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (4.6ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
+: 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (2.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « member » de la relation « adherent_adhesions » n'existe pas
-LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "member", ...
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (10.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.5ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (1.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
+: 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)
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (3.3ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (4.2ms)[0m BEGIN
+ [1m[36mFixture Delete (1.7ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
[1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « member » de la relation « adherent_adhesions » n'existe pas
-LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "member", ...
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
+: 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.0ms)[0m [1mALTER 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[0m
+ [1m[35m (1.6ms)[0m BEGIN
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « member » de la relation « adherent_adhesions » n'existe pas
-LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "member", ...
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (2.0ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (3.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (3.3ms)[0m 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)
+ [1m[36mFixture Delete (3.9ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (92.4ms)[0m 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_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.8ms)[0m BEGIN
- [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « member » de la relation « adherent_adhesions » n'existe pas
-LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "member", ...
+: 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (6.0ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (1.5ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
+: 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (1.7ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (4.0ms)[0m BEGIN
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « member » de la relation « adherent_adhesions » n'existe pas
-LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "member", ...
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (2.6ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (2.9ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
+: 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (6.5ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (2.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (3.9ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.6ms)[0m 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)
+ [1m[36m (1.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (2.0ms)[0m [1mALTER 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[0m
+ [1m[35m (6.9ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (1.9ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (3.6ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (1.4ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
[1m[35m (0.2ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (6.0ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (4.3ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (6.5ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (5.5ms)[0m 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)
+ [1m[36mFixture Delete (3.5ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.5ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (4.0ms)[0m BEGIN
+ [1m[36mFixture Delete (6.6ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Delete (1.9ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (4.7ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (7.4ms)[0m BEGIN
+ [1m[36mFixture Delete (2.8ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Delete (1.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (6.3ms)[0m 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)
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « member » de la relation « adherent_adhesions » n'existe pas
-LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "member", ...
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (6.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
+: 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (1.3ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.5ms)[0m [1mALTER 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[0m
+ [1m[35m (10.0ms)[0m BEGIN
+ [1m[36mFixture Delete (2.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (2.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (3.4ms)[0m 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)
+ [1m[36mFixture Insert (0.7ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.7ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (5.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « member » de la relation « adherent_adhesions » n'existe pas
-LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "member", ...
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (1.0ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
+: 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (3.3ms)[0m BEGIN
- [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.6ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « member » de la relation « adherent_adhesions » n'existe pas
-LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "member", ...
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mALTER 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[0m
+ [1m[35m (3.9ms)[0m BEGIN
+ [1m[36mFixture Delete (8.0ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (1.0ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (1.8ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (5.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.7ms)[0m 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_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
+: 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (4.8ms)[0m BEGIN
+ [1m[36mFixture Delete (3.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (3.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (9.1ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (3.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.5ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (4.0ms)[0m BEGIN
+ [1m[36mFixture Delete (4.5ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (4.7ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « member » de la relation « adherent_adhesions » n'existe pas
-LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "member", ...
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (4.8ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
- [1m[36m (8.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.3ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+: 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
[1m[35m (0.2ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (1.8ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (3.7ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (2.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (7.6ms)[0m BEGIN
+ [1m[36mFixture Delete (1.8ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (2.5ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (3.4ms)[0m [1mALTER 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[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « member » de la relation « adherent_adhesions » n'existe pas
-LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "member", ...
+ [1m[35mFixture Insert (6.3ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (3.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
+: 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (9.6ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (1.1ms)[0m 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)
+ [1m[36mFixture Delete (1.0ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (5.4ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.6ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (1.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (2.3ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (3.7ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.5ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (1.8ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36m (4.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « member » de la relation « adherent_adhesions » n'existe pas
-LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "member", ...
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.4ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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_adhesions" ("from_date", "to_date", "member", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:24:17', '2013-08-06 07:24:17', 980190962)
+: 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)
+ [1m[36m (2.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (2.0ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (4.4ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (1.7ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
-Connecting to database specified by database.yml
- [1m[36m (0.6ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.4ms)[0m 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
+ [1m[36m (4.8ms)[0m [1mALTER 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[0m
+ [1m[35m (2.0ms)[0m BEGIN
+ [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.7ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (20.5ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.8ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.4ms)[0m INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « references » de la relation « adherent_coords » n'existe pas
-LINE 1: ..."tel", "gsm", "office", "address", "zip", "city", "reference...
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (1.6ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (3.6ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
+: 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)
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (4.0ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (1.7ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (3.0ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (2.0ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.7ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (1.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (2.6ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
- [1m[36mFixture Insert (3.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (5.1ms)[0m [1mALTER 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[0m
+ [1m[35m (2.8ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (1.6ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (1.9ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (1.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (1.5ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (3.5ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mALTER 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[0m
+ [1m[35m (5.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.4ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36m (3.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (3.2ms)[0m [1mALTER 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[0m
+ [1m[35m (4.5ms)[0m BEGIN
+ [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Delete (3.9ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (1.6ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (3.3ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (6.9ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (4.3ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (1.7ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (1.1ms)[0m 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)
+ [1m[36mFixture Delete (0.9ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.6ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mALTER 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[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[36mFixture Delete (0.9ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.8ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)[0m
- [1m[35mFixture Insert (1.0ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)
- [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « references » de la relation « adherent_coords » n'existe pas
-LINE 1: ..."tel", "gsm", "office", "address", "zip", "city", "reference...
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.8ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)[0m
+: 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)
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (1.4ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (8.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (3.5ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)
- [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.4ms)[0m INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « references » de la relation « adherent_coords » n'existe pas
-LINE 1: ..."tel", "gsm", "office", "address", "zip", "city", "reference...
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (1.1ms)[0m 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)
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
+: 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
- [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)[0m
+ [1m[35m (0.8ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mFixture Delete (1.0ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.8ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)
- [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.4ms)[0m INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « references » de la relation « adherent_coords » n'existe pas
-LINE 1: ..."tel", "gsm", "office", "address", "zip", "city", "reference...
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (2.8ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+: 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (1.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)[0m
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « references » de la relation « adherent_coords » n'existe pas
-LINE 1: ..."tel", "gsm", "office", "address", "zip", "city", "reference...
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (5.8ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.9ms)[0m BEGIN
- [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)[0m
+: 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)
- [1m[36mFixture Delete (3.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (1.0ms)[0m INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « references » de la relation « adherent_coords » n'existe pas
-LINE 1: ..."tel", "gsm", "office", "address", "zip", "city", "reference...
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
+: 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (7.0ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.3ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (3.5ms)[0m BEGIN
- [1m[36mFixture Delete (0.9ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.7ms)[0m 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)
+ [1m[36mFixture Delete (3.8ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)
- [1m[36mFixture Delete (3.9ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (3.2ms)[0m INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « references » de la relation « adherent_coords » n'existe pas
-LINE 1: ..."tel", "gsm", "office", "address", "zip", "city", "reference...
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (8.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
+: 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (4.9ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (2.2ms)[0m BEGIN
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)
- [1m[36mFixture Delete (2.9ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.8ms)[0m INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « references » de la relation « adherent_coords » n'existe pas
-LINE 1: ..."tel", "gsm", "office", "address", "zip", "city", "reference...
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (1.9ms)[0m BEGIN
- [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (4.8ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
- [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)[0m
- [1m[35mFixture Delete (1.1ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « references » de la relation « adherent_coords » n'existe pas
-LINE 1: ..."tel", "gsm", "office", "address", "zip", "city", "reference...
- ^
-: INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
+: 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (6.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (1.6ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m 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 `<class:TestCase>'
+/home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `<top (required)>'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `<top (required)>'
+/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 <main>'
+/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 <main>'
+/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 `<main>'
+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 `<class:TestCase>'
+/home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `<top (required)>'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `<top (required)>'
+/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 <main>'
+/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 <main>'
+/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 `<main>'
+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 `<class:TestCase>'
+/home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `<top (required)>'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `<top (required)>'
+/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 <main>'
+/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 <main>'
+/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 `<main>'
+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 `<class:TestCase>'
+/home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `<top (required)>'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require'
+/home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `<top (required)>'
+/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 <main>'
+/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 <main>'
+/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 `<main>'
+ [1m[36m (0.5ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.4ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)[0m
+ [1m[35mFixture Insert (0.6ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)
- [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « references » de la relation « adherent_coords » n'existe pas
-LINE 1: ..."tel", "gsm", "office", "address", "zip", "city", "reference...
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
+: 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (1.0ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.8ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (1.3ms)[0m [1mALTER 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[0m
[1m[35m (0.3ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)
- [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (8.1ms)[0m INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « references » de la relation « adherent_coords » n'existe pas
-LINE 1: ..."tel", "gsm", "office", "address", "zip", "city", "reference...
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
+: 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.6ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.7ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (1.6ms)[0m 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)
+ [1m[36mFixture Delete (3.4ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (1.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)
- [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « references » de la relation « adherent_coords » n'existe pas
-LINE 1: ..."tel", "gsm", "office", "address", "zip", "city", "reference...
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.6ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
+: 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.4ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (3.2ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (1.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (1.5ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mFixture Delete (7.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.6ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (2.7ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.6ms)[0m 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)
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.5ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)
- [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « references » de la relation « adherent_coords » n'existe pas
-LINE 1: ..."tel", "gsm", "office", "address", "zip", "city", "reference...
+ [1m[36mFixture Insert (1.0ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
+: 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (3.1ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
[1m[35m (0.2ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (3.4ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (1.9ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (2.4ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.9ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (6.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.4ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.4ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (3.6ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (1.4ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (3.4ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (1.6ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.9ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.4ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mALTER 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[0m
+ [1m[35m (3.9ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)
- [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « references » de la relation « adherent_coords » n'existe pas
-LINE 1: ..."tel", "gsm", "office", "address", "zip", "city", "reference...
+ [1m[36mFixture Insert (0.9ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
+: 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.3ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (3.0ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)[0m
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (7.0ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (1.5ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)[0m
- [1m[35mFixture Insert (0.4ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:27:22', '2013-08-06 07:27:22', 298486374)
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
-PG::UndefinedColumn: ERREUR: la colonne « references » de la relation « adherent_coords » n'existe pas
-LINE 1: ..."tel", "gsm", "office", "address", "zip", "city", "reference...
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "references", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', NULL, '2013-08-06 07:27:22', '2013-08-06 07:27:22', 980190962)
+: 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
-Connecting to database specified by database.yml
- [1m[36m (0.3ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[35m (1.9ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.4ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.9ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.6ms)[0m 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-06 07:30:11', '2013-08-06 07:30:11', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:30:11', '2013-08-06 07:30:11', 298486374)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:30:11', '2013-08-06 07:30:11', 980190962)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:30:11', '2013-08-06 07:30:11', 298486374)
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (30.2ms)[0m 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', NULL, '2013-08-06 07:30:11', '2013-08-06 07:30:11', 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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', NULL, '2013-08-06 07:30:11', '2013-08-06 07:30:11', 298486374)[0m
- [1m[35m (51.0ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.8ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (1.0ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.5ms)[0m [1mALTER 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[0m
[1m[35m (0.3ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (9.5ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (3.8ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.4ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.9ms)[0m BEGIN
+ [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (7.4ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (1.9ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.4ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mFixture Delete (9.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (1.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (3.8ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.7ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mFixture Delete (3.0ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.6ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (10.6ms)[0m 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
+ [1m[36m (3.3ms)[0m [1mALTER 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[0m
+ [1m[35m (3.8ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (4.7ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (3.9ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.4ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.6ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (1.0ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mALTER 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[0m
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36mFixture Delete (0.9ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.4ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.8ms)[0m 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)
+ [1m[36mFixture Delete (2.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mFixture Delete (2.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.7ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
[1m[35m (0.2ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mALTER 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[0m
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (1.0ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (1.0ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (1.0ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_members"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.4ms)[0m 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
+ [1m[36m (0.8ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (0.4ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.5ms)[0m [1mALTER 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[0m
+ [1m[35m (0.6ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (0.5ms)[0m 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
+ [1m[36m (0.8ms)[0m [1mALTER 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[0m
+ [1m[35m (0.4ms)[0m 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
+ [1m[36m (1.3ms)[0m [1mALTER 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[0m
+ [1m[35m (0.4ms)[0m 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
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
+ [1m[35m (0.4ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (5.4ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.5ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m 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
+ [1m[36m (3.5ms)[0m [1mALTER 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[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mALTER 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[0m
+ [1m[35m (0.4ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mALTER 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[0m
+ [1m[35m (0.4ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (3.3ms)[0m [1mALTER 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[0m
+ [1m[35m (0.6ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mALTER 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[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.6ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.6ms)[0m 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
+ [1m[36m (1.0ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.6ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.4ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.7ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (65.0ms)[0m 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)
+ [1m[36mFixture Insert (0.8ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36mFixture Delete (2.0ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (5.7ms)[0m 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)
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (13.5ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (360.5ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.9ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (73.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.6ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.8ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (3.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m BEGIN
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.5ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (10.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
+ [1m[36m (3.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.7ms)[0m [1mBEGIN[0m
+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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mFixture Delete (0.9ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.8ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (47.8ms)[0m [1mCOMMIT[0m
+ [1m[35m (1.2ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (6.8ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (7.9ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.1ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (1.7ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (8.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.5ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (1.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
- [1m[36m (1.1ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[36m (0.7ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 07:30:47', '2013-08-06 07:30:47', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:30:47', '2013-08-06 07:30:47', 298486374)[0m
- [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:30:47', '2013-08-06 07:30:47', 980190962)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:30:47', '2013-08-06 07:30:47', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.2ms)[0m 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', NULL, '2013-08-06 07:30:47', '2013-08-06 07:30:47', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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', NULL, '2013-08-06 07:30:47', '2013-08-06 07:30:47', 298486374)[0m
- [1m[35m (31.5ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (1.1ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36m (40.5ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.9ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (1.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.8ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (1.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (2.7ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.6ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (5.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.0ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (1.0ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (1.4ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (41.5ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (5.8ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (4.6ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mAdherent::Member Load (93.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.0ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.9ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.4ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (21.5ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.9ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
[1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (3.0ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Coord Load (0.0ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.7ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (3.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (2.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (5.1ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
+ [1m[36m (3.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.1ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+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)
[1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m ROLLBACK
Connecting to database specified by database.yml
- [1m[36m (0.7ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[36m (0.9ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.7ms)[0m 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-06 07:31:47', '2013-08-06 07:31:47', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:31:47', '2013-08-06 07:31:47', 298486374)[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:31:47', '2013-08-06 07:31:47', 980190962)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:31:47', '2013-08-06 07:31:47', 298486374)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.2ms)[0m 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', NULL, '2013-08-06 07:31:47', '2013-08-06 07:31:47', 980190962)
- [1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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', NULL, '2013-08-06 07:31:47', '2013-08-06 07:31:47', 298486374)[0m
- [1m[35m (21.0ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (25.2ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.7ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (1.9ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (2.5ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (3.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (1.0ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (1.1ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+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)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.4ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (17.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (87.1ms)[0m [1mCOMMIT[0m
+ [1m[35m (1.5ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (1.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (1.2ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (5.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.7ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (1.0ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (2.7ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
+ [1m[36m (1.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (2.6ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions"
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
Connecting to database specified by database.yml
- [1m[36m (0.5ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (205.2ms)[0m 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)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.7ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (1.0ms)[0m BEGIN
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.2ms)[0m 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-06 07:32:41', '2013-08-06 07:32:41', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:32:41', '2013-08-06 07:32:41', 298486374)[0m
- [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:32:41', '2013-08-06 07:32:41', 980190962)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:32:41', '2013-08-06 07:32:41', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.2ms)[0m 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', NULL, '2013-08-06 07:32:41', '2013-08-06 07:32:41', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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', NULL, '2013-08-06 07:32:41', '2013-08-06 07:32:41', 298486374)[0m
- [1m[35m (43.8ms)[0m COMMIT
- [1m[36m (0.5ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (3.1ms)[0m BEGIN
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35mFixture Insert (112.7ms)[0m 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)
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.5ms)[0m 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
+ [1m[36m (1.2ms)[0m [1mALTER 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[0m
+ [1m[35m (2.9ms)[0m BEGIN
+ [1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.6ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (2.7ms)[0m BEGIN
+ [1m[36mFixture Delete (2.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.4ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mALTER 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[0m
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (1.0ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (1.0ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.7ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.9ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36mFixture Delete (3.5ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mALTER 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[0m
+ [1m[35m (2.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.5ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (8.7ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.5ms)[0m [1mALTER 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[0m
+ [1m[35m (5.7ms)[0m BEGIN
+ [1m[36mFixture Delete (4.7ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
+ [1m[35m (7.4ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.7ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (6.8ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (2.4ms)[0m [1mALTER 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[0m
+ [1m[35m (5.0ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (2.1ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.8ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (3.0ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (1.0ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.5ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.4ms)[0m 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
+ [1m[36m (4.2ms)[0m [1mALTER 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[0m
[1m[35m (0.2ms)[0m BEGIN
+ [1m[36mFixture Delete (1.6ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (3.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (1.1ms)[0m BEGIN
+ [1m[36mFixture Delete (4.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (1.5ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (4.6ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mALTER 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[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (2.8ms)[0m BEGIN
+ [1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (3.4ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (9.9ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.0ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (2.3ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.7ms)[0m 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)
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[36m (29.6ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (1.0ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (3.5ms)[0m [1mROLLBACK[0m
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.8ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (0.6ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mFixture Delete (1.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 07:33:30', '2013-08-06 07:33:30', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:33:30', '2013-08-06 07:33:30', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:33:30', '2013-08-06 07:33:30', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:33:30', '2013-08-06 07:33:30', 298486374)
- [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.8ms)[0m 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', NULL, '2013-08-06 07:33:30', '2013-08-06 07:33:30', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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', NULL, '2013-08-06 07:33:30', '2013-08-06 07:33:30', 298486374)[0m
- [1m[35m (1.1ms)[0m COMMIT
- [1m[36m (0.3ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.5ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.5ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (2.7ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (2.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Adhesion Load (0.9ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions"
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (1.8ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (22.2ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.5ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (6.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (1.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[36mAdherent::Coord Load (0.9ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (1.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (1.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (3.0ms)[0m SELECT COUNT(*) FROM "adherent_members"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.7ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (8.8ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (3.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (4.0ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions"
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (2.3ms)[0m [1mALTER 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[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (41.2ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::MembersController#index as HTML
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
- [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
- [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.8ms)
-Completed 200 OK in 421ms (Views: 418.7ms | ActiveRecord: 1.3ms)
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Coord Load (8.8ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (3.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.9ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (7.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (1.0ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (10.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (2.5ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.5ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (2.1ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.6ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Payment Load (0.5ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (2.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.5ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions"
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 07:34:35', '2013-08-06 07:34:35', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:34:35', '2013-08-06 07:34:35', 298486374)[0m
- [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:34:35', '2013-08-06 07:34:35', 980190962)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:34:35', '2013-08-06 07:34:35', 298486374)
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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', NULL, '2013-08-06 07:34:35', '2013-08-06 07:34:35', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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', NULL, '2013-08-06 07:34:35', '2013-08-06 07:34:35', 298486374)[0m
- [1m[35m (51.0ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
+ [1m[36m (0.7ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (1.0ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (28.3ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.7ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (1.1ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.6ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.7ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mAdherent::Member Load (1.0ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.8ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.6ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (2.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (3.6ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (1.1ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Payment Load (0.6ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Payment Load (0.6ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions"
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.5ms)[0m 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)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.6ms)[0m 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)
+ [1m[36m (49.9ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.8ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (1.8ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (1.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (250.6ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.5ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (1.6ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[36m (3.8ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (54.1ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 07:34:35 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 07:34:35 UTC +00:00]]
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 65ms (ActiveRecord: 58.2ms)
+ 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)
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 980190962]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members
-Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
+ 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)
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
- [1m[35m (1.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (93.3ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.7ms)
-Completed 200 OK in 161ms (Views: 160.3ms | ActiveRecord: 0.3ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.9ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#index as HTML
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
- [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
- [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 54ms (Views: 51.9ms | ActiveRecord: 1.1ms)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["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)
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (1.4ms)[0m 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 (10.1ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
-Completed 200 OK in 56ms (Views: 54.6ms | ActiveRecord: 0.0ms)
+Redirected to http://test.host/organisms
+Filter chain halted as :find_organism rendered or redirected
+Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 32ms (Views: 30.3ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"id"=>"980190962", "member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.9ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 9ms (ActiveRecord: 1.4ms)
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
+ 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (3.7ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.7ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[36m (3.0ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 07:35:41', '2013-08-06 07:35:41', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:35:41', '2013-08-06 07:35:41', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:35:41', '2013-08-06 07:35:41', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:35:41', '2013-08-06 07:35:41', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.2ms)[0m 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', NULL, '2013-08-06 07:35:41', '2013-08-06 07:35:41', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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', NULL, '2013-08-06 07:35:41', '2013-08-06 07:35:41', 298486374)[0m
- [1m[35m (48.1ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (107.9ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.7ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (9.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (1.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+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)
+ [1m[35m (4.5ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (0.8ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (1.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (2.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (1.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.7ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (41.8ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (10.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (55.2ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+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)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.3ms)[0m 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)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (4.8ms)[0m 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)
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
+ [1m[36m (3.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (1.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (2.7ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.7ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (14.5ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36m (76.6ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.6ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (1.6ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (19.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (17.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (5.3ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (0.7ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (2.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
-Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (2.2ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 07:35:41 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 07:35:41 UTC +00:00]]
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 9ms (ActiveRecord: 2.5ms)
- [1m[35m (1.1ms)[0m SELECT COUNT(*) FROM "adherent_members"
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
[1m[35m (0.3ms)[0m 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)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (4.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ 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)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (1.6ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (1.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (47.0ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (1.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.6ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.7ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 980190962]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members
-Completed 302 Found in 11ms (ActiveRecord: 6.4ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (1.8ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (1.8ms)[0m 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)
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
- [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (1.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+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)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.7ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (22.5ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.5ms)
-Completed 200 OK in 54ms (Views: 48.2ms | ActiveRecord: 0.7ms)
+ 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)
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::MembersController#index as HTML
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
- [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.5ms)
-Completed 200 OK in 53ms (Views: 50.3ms | ActiveRecord: 1.1ms)
- [1m[35m (0.4ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.6ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#new as HTML
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (10.9ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 15ms (Views: 14.7ms | ActiveRecord: 0.0ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.2ms)
+ 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"id"=>"980190962", "member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.7ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 07:36:30', '2013-08-06 07:36:30', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:36:30', '2013-08-06 07:36:30', 298486374)[0m
- [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:36:30', '2013-08-06 07:36:30', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:36:30', '2013-08-06 07:36:30', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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', NULL, '2013-08-06 07:36:30', '2013-08-06 07:36:30', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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', NULL, '2013-08-06 07:36:30', '2013-08-06 07:36:30', 298486374)[0m
- [1m[35m (26.3ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (47.0ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (1.6ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (1.1ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.8ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (0.8ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.7ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
-Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 07:36:30 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 07:36:30 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 7ms (ActiveRecord: 1.3ms)
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
- [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+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
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 980190962]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members
-Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
- [1m[36m (1.0ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ 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
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (3.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (21.5ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms)
-Completed 200 OK in 64ms (Views: 63.2ms | ActiveRecord: 0.3ms)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::MembersController#index as HTML
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
- [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
- [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 53ms (Views: 49.8ms | ActiveRecord: 1.1ms)
+ 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
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::MembersController#new as HTML
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (9.8ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.0ms)
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.2ms)
+ 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
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"id"=>"980190962", "member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
+ 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
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.7ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (3.1ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (3.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
- [1m[36m (0.9ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 07:40:51', '2013-08-06 07:40:51', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:40:51', '2013-08-06 07:40:51', 298486374)[0m
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:40:51', '2013-08-06 07:40:51', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:40:51', '2013-08-06 07:40:51', 298486374)
+ [1m[36mFixture Insert (0.9ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.1ms)[0m 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', NULL, '2013-08-06 07:40:51', '2013-08-06 07:40:51', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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', NULL, '2013-08-06 07:40:51', '2013-08-06 07:40:51', 298486374)[0m
- [1m[35m (20.6ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (207.0ms)[0m [1mCOMMIT[0m
+ [1m[35m (1.0ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (1.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[36mAdherent::Member Load (5.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (0.7ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (2.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (4.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (1.1ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (1.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (1.7ms)[0m [1mROLLBACK[0m
+ [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.7ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (11.8ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (112.8ms)[0m [1mCOMMIT[0m
+ [1m[35m (1.0ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (1.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.9ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.6ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Adhesion Load (0.6ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (2.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
-Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (2.3ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 07:40:52 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 07:40:52 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 12ms (ActiveRecord: 2.8ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (1.7ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (0.8ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (2.0ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+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
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 980190962]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members
-Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
- [1m[36m (2.6ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (6.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ 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
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (22.9ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.3ms)
-Completed 200 OK in 67ms (Views: 64.9ms | ActiveRecord: 0.4ms)
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ 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
+ [1m[35m (6.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#index as HTML
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
- [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
- [1m[36mAdherent::Coord Load (35.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 55ms (Views: 18.4ms | ActiveRecord: 35.8ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+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
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#new as HTML
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (9.6ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 19ms (Views: 18.3ms | ActiveRecord: 0.0ms)
+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
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 9ms (Views: 4.6ms | ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (4.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"id"=>"980190962", "member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ 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
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (10.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (3.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
- [1m[36m (0.5ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[36m (0.1ms)[0m [1m[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 07:45:10', '2013-08-06 07:45:10', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 07:45:10', '2013-08-06 07:45:10', 298486374)[0m
- [1m[35mFixture Delete (1.5ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 07:45:10', '2013-08-06 07:45:10', 980190962)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 07:45:10', '2013-08-06 07:45:10', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.2ms)[0m 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', NULL, '2013-08-06 07:45:10', '2013-08-06 07:45:10', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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', NULL, '2013-08-06 07:45:10', '2013-08-06 07:45:10', 298486374)[0m
- [1m[35m (31.2ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
+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
+
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m
+ [1m[36m (0.0ms)[0m [1m[0m
+ [1m[35m (0.2ms)[0m 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
+
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m
+ [1m[36m (0.1ms)[0m [1m[0m
[1m[35m (0.1ms)[0m 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
+
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m
+ [1m[36m (0.0ms)[0m [1m[0m
+ [1m[35m (0.1ms)[0m 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
+
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m
+ [1m[36m (0.0ms)[0m [1m[0m
+ [1m[35m (0.1ms)[0m 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
+
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m
+ [1m[36m (2.9ms)[0m [1m[0m
+ [1m[35m (0.1ms)[0m 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
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
+ [1m[35m (0.0ms)[0m
+ [1m[36m (0.0ms)[0m [1m[0m
+ [1m[35m (3.1ms)[0m 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
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
+ [1m[35m (0.0ms)[0m
+ [1m[36m (0.0ms)[0m [1m[0m
+ [1m[35m (0.2ms)[0m 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
+
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m
+ [1m[36m (0.2ms)[0m [1m[0m
+ [1m[35m (0.1ms)[0m 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
+
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m
+ [1m[36m (0.1ms)[0m [1m[0m
+ [1m[35m (3.1ms)[0m 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
+
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m
+ [1m[36m (0.2ms)[0m [1m[0m
+ [1m[35m (0.1ms)[0m 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
+
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m
+ [1m[36m (0.1ms)[0m [1m[0m
+ [1m[35m (0.6ms)[0m 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
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m
+ [1m[36m (0.0ms)[0m [1m[0m
+ [1m[35m (0.1ms)[0m 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
+
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m
+ [1m[36m (0.1ms)[0m [1m[0m
+ [1m[35m (0.1ms)[0m 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
+
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m
+ [1m[36m (0.0ms)[0m [1m[0m
+ [1m[35m (2.3ms)[0m 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
+
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m
+ [1m[36m (0.1ms)[0m [1m[0m
+ [1m[35m (0.1ms)[0m 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
+
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m
+ [1m[36m (0.1ms)[0m [1m[0m
+ [1m[35m (1.2ms)[0m 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
+
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.7ms)[0m
+Connecting to database specified by database.yml
+ [1m[36m (245.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (40.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.7ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Migrating to CreateAdherentMembers (20130805145522)
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (242.1ms)[0m [1mCREATE 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) [0m
+ [1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130805145522')
+ [1m[36m (2.5ms)[0m [1mCOMMIT[0m
+Migrating to CreateAdherentCoords (20130805152911)
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (27.3ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130805152911')
+ [1m[36m (10.4ms)[0m [1mCOMMIT[0m
+Migrating to CreateAdherentAdhesions (20130806053936)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (4.4ms)[0m [1mCREATE 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) [0m
+ [1m[35m (7.6ms)[0m CREATE INDEX "index_adherent_adhesions_on_member_id" ON "adherent_adhesions" ("member_id")
+ [1m[36m (3.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130806053936')[0m
+ [1m[35m (2.4ms)[0m COMMIT
+Migrating to CreateAdherentPayments (20130808054023)
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (5.0ms)[0m 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)
+ [1m[36m (2.1ms)[0m [1mCREATE INDEX "index_adherent_payments_on_member_id" ON "adherent_payments" ("member_id")[0m
+ [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130808054023')
+ [1m[36m (1.8ms)[0m [1mCOMMIT[0m
+Migrating to CreateAdherentReglements (20130809052125)
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (24.1ms)[0m [1mCREATE 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) [0m
+ [1m[35m (2.0ms)[0m CREATE INDEX "index_adherent_reglements_on_adhesion_id" ON "adherent_reglements" ("adhesion_id")
+ [1m[36m (6.8ms)[0m [1mCREATE INDEX "index_adherent_reglements_on_payment_id" ON "adherent_reglements" ("payment_id")[0m
+ [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130809052125')
+ [1m[36m (7.2ms)[0m [1mCOMMIT[0m
+Migrating to AddOrganismIdToAdherentMembers (20130810073908)
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mALTER TABLE "adherent_members" ADD COLUMN "organism_id" integer[0m
+ [1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130810073908')
+ [1m[36m (1.1ms)[0m [1mCOMMIT[0m
+Migrating to CreateOrganisms (20130810074112)
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (7.8ms)[0m [1mCREATE TABLE "organisms" ("id" serial primary key, "title" character varying(255), "status" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
+ [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130810074112')
+ [1m[36m (7.0ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
+Connecting to database specified by database.yml
+ [1m[36m (7.5ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36m (14.5ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (1.8ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (14.5ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (8.9ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36mAdherent::Member Load (1.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.6ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 07:45:11 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 07:45:11 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 8ms (ActiveRecord: 1.8ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35mAdherent::Member Exists (1.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ 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)
+ [1m[35m (0.9ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.0ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 980190962]]
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/adherent/members
-Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
- [1m[35m (2.5ms)[0m ROLLBACK
+Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.3ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (23.0ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (4.6ms)
-Completed 200 OK in 73ms (Views: 71.0ms | ActiveRecord: 0.3ms)
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#index as HTML
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1[0m
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (26.9ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.4ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 58ms (Views: 54.6ms | ActiveRecord: 1.1ms)
- [1m[35m (0.7ms)[0m ROLLBACK
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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 /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.6ms)
-Completed 200 OK in 16ms (Views: 15.4ms | ActiveRecord: 0.0ms)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (1.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
-Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.3ms)
+ 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"id"=>"980190962", "member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
+ [1m[35mAdherent::Member Exists (17.1ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 26ms (ActiveRecord: 17.5ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.7ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.2ms)[0m 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-06 09:33:10', '2013-08-06 09:33:10', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 09:33:10', '2013-08-06 09:33:10', 298486374)[0m
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.5ms)[0m [1mALTER 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[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (1.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 09:33:10', '2013-08-06 09:33:10', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 09:33:10', '2013-08-06 09:33:10', 298486374)
- [1m[36mFixture Delete (18.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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', NULL, '2013-08-06 09:33:10', '2013-08-06 09:33:10', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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', NULL, '2013-08-06 09:33:10', '2013-08-06 09:33:10', 298486374)[0m
- [1m[35m (29.0ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (70.5ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.8ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.9ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (0.7ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (0.6ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m 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"}}
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ 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)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (8.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
-Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (11.0ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 09:33:11 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 09:33:11 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 15ms (ActiveRecord: 11.3ms)
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 980190962]]
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/adherent/members
-Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
- [1m[35m (2.6ms)[0m ROLLBACK
+ [1m[35m (0.6ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (125.6ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (19.5ms)
-Completed 200 OK in 446ms (Views: 442.0ms | ActiveRecord: 0.3ms)
- [1m[35m (0.6ms)[0m ROLLBACK
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (1.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#index as HTML
- [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
- [1m[35mAdherent::Coord Load (0.8ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
- [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1[0m
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.6ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (2.6ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.4ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 124ms (Views: 118.5ms | ActiveRecord: 1.9ms)
+ 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)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (1.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (1.0ms)[0m 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 (20.2ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
-Completed 200 OK in 46ms (Views: 45.0ms | ActiveRecord: 0.0ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (1.9ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
-Completed 200 OK in 33ms (Views: 27.5ms | ActiveRecord: 1.9ms)
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"id"=>"980190962", "member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 10ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 09:34:09', '2013-08-06 09:34:09', 980190962)
- [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 09:34:09', '2013-08-06 09:34:09', 298486374)[0m
- [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 09:34:09', '2013-08-06 09:34:09', 980190962)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 09:34:09', '2013-08-06 09:34:09', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.2ms)[0m 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', NULL, '2013-08-06 09:34:09', '2013-08-06 09:34:09', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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', NULL, '2013-08-06 09:34:09', '2013-08-06 09:34:09', 298486374)[0m
- [1m[35m (183.0ms)[0m COMMIT
- [1m[36m (0.8ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (1.2ms)[0m [1mALTER 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[0m
[1m[35m (0.2ms)[0m BEGIN
- [1m[36m (3.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.6ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (35.3ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (1.0ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (3.6ms)[0m [1mROLLBACK[0m
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.7ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (1.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (0.7ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"Adh001"}}
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.5ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 09:34:10 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 09:34:10 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 7ms (ActiveRecord: 1.7ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36mSQL (43.7ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", 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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 98ms (ActiveRecord: 45.9ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 980190962]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.7ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Redirected to http://test.host/adherent/members
-Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
- [1m[35m (1.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+Completed 302 Found in 5ms (ActiveRecord: 1.6ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (23.7ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.9ms)
-Completed 200 OK in 72ms (Views: 69.5ms | ActiveRecord: 0.4ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#index as HTML
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
- [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
- [1m[36mAdherent::Coord Load (0.8ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35m (0.4ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m 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)
-Completed 200 OK in 56ms (Views: 53.6ms | ActiveRecord: 1.5ms)
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::MembersController#new as HTML
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (9.7ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
-Completed 200 OK in 17ms (Views: 16.7ms | ActiveRecord: 0.0ms)
+ 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.0ms)
-Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.0ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"id"=>"980190962", "member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
Connecting to database specified by database.yml
- [1m[36m (2.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 09:36:05', '2013-08-06 09:36:05', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 09:36:05', '2013-08-06 09:36:05', 298486374)[0m
+ [1m[36m (0.2ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 09:36:05', '2013-08-06 09:36:05', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 09:36:05', '2013-08-06 09:36:05', 298486374)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.2ms)[0m 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', NULL, '2013-08-06 09:36:05', '2013-08-06 09:36:05', 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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', NULL, '2013-08-06 09:36:05', '2013-08-06 09:36:05', 298486374)[0m
- [1m[35m (83.2ms)[0m COMMIT
- [1m[36m (0.9ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.9ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36m (37.8ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (1.0ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (4.0ms)[0m [1mROLLBACK[0m
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (1.5ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (1.3ms)[0m [1mROLLBACK[0m
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (1.7ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (2.1ms)[0m SELECT COUNT(*) FROM "adherent_members"
Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.2ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 09:36:05 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 09:36:05 UTC +00:00]]
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", 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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 50ms (ActiveRecord: 3.1ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "adherent_members"
-Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#edit as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#index as HTML
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35m (0.4ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+ [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m 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)
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Exists (0.4ms)[0m [1mSELECT 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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members
-Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
- [1m[36m (1.1ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.5ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (1.7ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.9ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (72.4ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.1ms)
-Completed 200 OK in 111ms (Views: 109.3ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (1.1ms)[0m [1mALTER 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[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (102.5ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.8ms)[0m 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
+ [1m[36m (0.6ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::MembersController#index as HTML
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
- [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.8ms)
-Completed 200 OK in 30ms (Views: 28.5ms | ActiveRecord: 0.9ms)
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::MembersController#new as HTML
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (9.1ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
-Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms)
+ [1m[35mAdherent::Member Load (0.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.2ms)
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::MembersController#update as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (0.9ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (1.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Processing by Adherent::MembersController#create as HTML
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36mSQL (1.9ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", 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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 47ms (ActiveRecord: 4.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#edit as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#index as HTML
+ [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35m (0.5ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (1.0ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
Connecting to database specified by database.yml
- [1m[36m (6.3ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (3.3ms)[0m BEGIN
- [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.5ms)[0m 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-06 09:43:08', '2013-08-06 09:43:08', 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 09:43:08', '2013-08-06 09:43:08', 298486374)[0m
+ [1m[36m (1.9ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 09:43:08', '2013-08-06 09:43:08', 980190962)[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 09:43:08', '2013-08-06 09:43:08', 298486374)
- [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.4ms)[0m 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', NULL, '2013-08-06 09:43:08', '2013-08-06 09:43:08', 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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', NULL, '2013-08-06 09:43:08', '2013-08-06 09:43:08', 298486374)[0m
- [1m[35m (1.2ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (1.8ms)[0m BEGIN
+ [1m[36mFixture Insert (0.8ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (28.9ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (1.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.6ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.1ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (4.5ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (6.0ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (0.6ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.9ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.0ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 09:43:09 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 09:43:09 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 8ms (ActiveRecord: 1.4ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", 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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 49ms (ActiveRecord: 3.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (1.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#edit as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#index as HTML
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35m (0.5ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36m (0.5ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (1.6ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.6ms)[0m 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)
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36m (24.6ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.7ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (1.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (1.0ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (1.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (1.6ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.8ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+Processing by Adherent::MembersController#create as HTML
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (1.2ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 50ms (ActiveRecord: 3.0ms)
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 980190962]]
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/adherent/members
-Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
- [1m[35m (0.1ms)[0m ROLLBACK
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[36m (1.6ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (53.7ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.3ms)
-Completed 200 OK in 99ms (Views: 96.5ms | ActiveRecord: 0.4ms)
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#index as HTML
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
- [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1[0m
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
-Completed 200 OK in 19ms (Views: 17.3ms | ActiveRecord: 1.0ms)
+ 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)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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 (9.7ms)
+ 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)
-Completed 200 OK in 14ms (Views: 13.8ms | ActiveRecord: 0.0ms)
+ 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
-Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms)
+ 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (1.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.5ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.8ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
- [1m[36m (6.4ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.7ms)[0m BEGIN
- [1m[36mFixture Delete (1.5ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.9ms)[0m 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-06 09:45:46', '2013-08-06 09:45:46', 980190962)
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 09:45:46', '2013-08-06 09:45:46', 298486374)[0m
- [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 09:45:46', '2013-08-06 09:45:46', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 09:45:46', '2013-08-06 09:45:46', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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', NULL, '2013-08-06 09:45:46', '2013-08-06 09:45:46', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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', NULL, '2013-08-06 09:45:46', '2013-08-06 09:45:46', 298486374)[0m
- [1m[35m (1.4ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
+ [1m[36m (2.4ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (13.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+ [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (44.1ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.6ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (1.0ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+Processing by Adherent::MembersController#create as HTML
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (2.0ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 83ms (ActiveRecord: 6.2ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
-Processing by Adherent::CoordsController#destroy as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 1ms
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+Processing by Adherent::MembersController#index as HTML
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (1.1ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.9ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 27ms (Views: 21.6ms | ActiveRecord: 3.5ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#show as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (12.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#edit as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 1ms
- [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#update as HTML
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (1.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::CoordsController#index as HTML
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" [0m
-Completed 500 Internal Server Error in 95ms
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.6ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::CoordsController#new as HTML
-Completed 404 Not Found in 1ms
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#show as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 0ms
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (1.1ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.8ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (22.4ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.7ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (1.1ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[35mAdherent::Member Load (1.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.1ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (3.8ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[36m (8.8ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (6.6ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 09:45:47 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 09:45:47 UTC +00:00]]
- [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 24ms (ActiveRecord: 15.7ms)
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (1.1ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 46ms (ActiveRecord: 3.2ms)
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "adherent_members"
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.7ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35m (0.9ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 980190962]]
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/adherent/members
-Completed 302 Found in 6ms (ActiveRecord: 1.9ms)
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
[1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (55.8ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms)
-Completed 200 OK in 72ms (Views: 70.1ms | ActiveRecord: 0.4ms)
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (1.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#index as HTML
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
- [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.7ms)
-Completed 200 OK in 19ms (Views: 17.2ms | ActiveRecord: 0.9ms)
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.6ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (1.0ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (1.1ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 26ms (Views: 20.4ms | ActiveRecord: 3.6ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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 (10.4ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.7ms)
-Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.0ms)
+ 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (3.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
-Completed 200 OK in 12ms (Views: 6.6ms | ActiveRecord: 3.7ms)
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (3.8ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 09:50:13', '2013-08-06 09:50:13', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 09:50:13', '2013-08-06 09:50:13', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 09:50:13', '2013-08-06 09:50:13', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 09:50:13', '2013-08-06 09:50:13', 298486374)
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.0ms)[0m 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', NULL, '2013-08-06 09:50:13', '2013-08-06 09:50:13', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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', NULL, '2013-08-06 09:50:13', '2013-08-06 09:50:13', 298486374)[0m
- [1m[35m (1.6ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.7ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.3ms)[0m 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"}}
-Completed 404 Not Found in 0ms
+ [1m[35mAdherent::Member Exists (0.3ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "adherent_coords"
-Processing by Adherent::CoordsController#destroy as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 0ms
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#edit as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 1ms
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::CoordsController#index as HTML
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" [0m
-Completed 500 Internal Server Error in 40ms
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (1.1ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36mFixture Insert (0.4ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.9ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (1.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.7ms)[0m 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)
+ [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36m (95.9ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.6ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (1.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.9ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#show as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 1ms
- [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:acc91b0,'0.0',9(36)>], ["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]]
+ [1m[35m (5.3ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (3.9ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.6ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::CoordsController#update as HTML
- Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
-Completed 404 Not Found in 1ms
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mAdherent::Member Load (4.9ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (1.6ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (3.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.6ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 09:50:13 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 09:50:13 UTC +00:00]]
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 12ms (ActiveRecord: 1.8ms)
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 50ms (ActiveRecord: 3.1ms)
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 980190962]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/adherent/members
-Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
- [1m[35m (0.3ms)[0m ROLLBACK
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (21.0ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.2ms)
-Completed 200 OK in 40ms (Views: 37.5ms | ActiveRecord: 0.3ms)
- [1m[35m (0.2ms)[0m ROLLBACK
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#index as HTML
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
- [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
- [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1[0m
+ [1m[36mAdherent::Member Load (1.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.5ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.1ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 17ms (Views: 14.7ms | ActiveRecord: 1.1ms)
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ 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)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m 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 (9.0ms)
+ 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)
-Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.0ms)
+ 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (1.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
-Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 1.0ms)
+ 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 10ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.6ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
- [1m[36m (21.7ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 11:43:49', '2013-08-06 11:43:49', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 11:43:49', '2013-08-06 11:43:49', 298486374)[0m
- [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 11:43:50', '2013-08-06 11:43:50', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 11:43:50', '2013-08-06 11:43:50', 298486374)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.4ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (1.3ms)[0m 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', NULL, '2013-08-06 11:43:50', '2013-08-06 11:43:50', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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', NULL, '2013-08-06 11:43:50', '2013-08-06 11:43:50', 298486374)[0m
- [1m[35m (1.5ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (1.1ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.3ms)[0m 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"}}
-Completed 404 Not Found in 0ms
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
-Processing by Adherent::CoordsController#destroy as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 0ms
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (18.3ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.6ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#edit as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 1ms
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:ae56654,'0.0',9(36)>], ["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]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
[1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.8ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::CoordsController#index as HTML
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" [0m
-Completed 500 Internal Server Error in 62ms
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (1.7ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#show as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 1ms
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.8ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::CoordsController#update as HTML
- Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
-Completed 404 Not Found in 0ms
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (8.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.9ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 11:43:50 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 11:43:50 UTC +00:00]]
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 48ms (ActiveRecord: 2.7ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (5.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "adherent_members"
Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 980190962]]
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/adherent/members
-Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
+Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
[1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (27.4ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.1ms)
-Completed 200 OK in 43ms (Views: 41.7ms | ActiveRecord: 0.3ms)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#index as HTML
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
-Completed 200 OK in 20ms (Views: 18.2ms | ActiveRecord: 1.0ms)
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ 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)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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 (12.8ms)
+ 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)
-Completed 200 OK in 16ms (Views: 15.9ms | ActiveRecord: 0.0ms)
+ 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.2ms)
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"980190962"}
- [1m[35mAdherent::Member Load (2.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 8ms (ActiveRecord: 2.2ms)
- [1m[36m (0.7ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (8.9ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 11:44:22', '2013-08-06 11:44:22', 980190962)
- [1m[36mFixture Insert (0.9ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 11:44:22', '2013-08-06 11:44:22', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 11:44:22', '2013-08-06 11:44:22', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 11:44:22', '2013-08-06 11:44:22', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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', NULL, '2013-08-06 11:44:22', '2013-08-06 11:44:22', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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', NULL, '2013-08-06 11:44:22', '2013-08-06 11:44:22', 298486374)[0m
- [1m[35m (1.6ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (1.6ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.3ms)[0m 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"}}
-Completed 404 Not Found in 0ms
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.5ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
-Processing by Adherent::CoordsController#destroy as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 1ms
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#edit as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 1ms
- [1m[35m (1.5ms)[0m ROLLBACK
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.9ms)[0m 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)
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (25.6ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.3ms)[0m 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
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::CoordsController#index as HTML
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" [0m
-Completed 500 Internal Server Error in 43ms
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.9ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (1.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (1.0ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#show as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 0ms
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:a8867c4,'0.0',9(36)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::CoordsController#update as HTML
- Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
-Completed 404 Not Found in 1ms
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.5ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 11:44:23 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 11:44:23 UTC +00:00]]
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 6ms (ActiveRecord: 1.7ms)
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 50ms (ActiveRecord: 3.0ms)
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (5.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 980190962]]
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/adherent/members
-Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
- [1m[36m (0.9ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.9ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (23.2ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.0ms)
-Completed 200 OK in 43ms (Views: 37.9ms | ActiveRecord: 0.9ms)
- [1m[35m (0.2ms)[0m ROLLBACK
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#index as HTML
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
- [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
- [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 17ms (Views: 14.4ms | ActiveRecord: 0.9ms)
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.6ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ 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)
[1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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 (10.1ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.0ms)
-Completed 200 OK in 17ms (Views: 14.7ms | ActiveRecord: 0.0ms)
+ 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.8ms)
-Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.2ms)
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (17.4ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.8ms)[0m 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-06 11:45:53', '2013-08-06 11:45:53', 980190962)
- [1m[36mFixture Insert (1.0ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 11:45:53', '2013-08-06 11:45:53', 298486374)[0m
- [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 11:45:53', '2013-08-06 11:45:53', 980190962)[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 11:45:53', '2013-08-06 11:45:53', 298486374)
- [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.5ms)[0m 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', NULL, '2013-08-06 11:45:53', '2013-08-06 11:45:53', 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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', NULL, '2013-08-06 11:45:53', '2013-08-06 11:45:53', 298486374)[0m
- [1m[35m (2.5ms)[0m COMMIT
- [1m[36m (0.3ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (1.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Exists (0.4ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
[1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Payment Load (0.1ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (23.5ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:a4f5c90,'0.0',9(36)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (1.0ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 11:45:53 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 11:45:53 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 7ms (ActiveRecord: 1.4ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", 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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 18ms (ActiveRecord: 2.8ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
[1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 980190962]]
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Redirected to http://test.host/adherent/members
-Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (22.5ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.1ms)
-Completed 200 OK in 98ms (Views: 95.0ms | ActiveRecord: 0.3ms)
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "adherent_members"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#edit as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#index as HTML
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members"
- [1m[36mAdherent::Coord Load (1.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Coord Load (0.7ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1
+ [1m[35mAdherent::Member Load (0.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL
+ [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35m (0.4ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m 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)
-Completed 200 OK in 22ms (Views: 18.6ms | ActiveRecord: 2.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: 2.7ms)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#new as HTML
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (9.3ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 13ms (Views: 12.9ms | ActiveRecord: 0.0ms)
+ 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)
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
-Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.2ms)
+ 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)
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 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[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (1.9ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
Connecting to database specified by database.yml
- [1m[36m (1.7ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.4ms)[0m 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-06 11:46:17', '2013-08-06 11:46:17', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 11:46:17', '2013-08-06 11:46:17', 298486374)[0m
+ [1m[36m (0.7ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 11:46:17', '2013-08-06 11:46:17', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 11:46:17', '2013-08-06 11:46:17', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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', NULL, '2013-08-06 11:46:17', '2013-08-06 11:46:17', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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', NULL, '2013-08-06 11:46:17', '2013-08-06 11:46:17', 298486374)[0m
- [1m[35m (1.5ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.8ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (26.6ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (2.0ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:a1115d4,'0.0',9(36)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.6ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 05:28:58.789052' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", "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"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061/adhesions/new
+Completed 302 Found in 53ms (ActiveRecord: 3.7ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+Processing by Adherent::CoordsController#destroy as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/coords
+Completed 302 Found in 3ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.0ms)[0m 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"}
+ [1m[36mAdherent::Member Load (3.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.6ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 05:28:58.928658' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ 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)
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::CoordsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (1.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061/coord
+Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.8ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 11:46:18 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 11:46:18 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 6ms (ActiveRecord: 1.3ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
- [1m[35m (1.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
-Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 980190962]]
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.9ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 12ms (ActiveRecord: 1.6ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (4.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (2.1ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
+ [1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/adherent/members
-Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Completed 302 Found in 23ms (ActiveRecord: 7.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (24.2ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.1ms)
-Completed 200 OK in 87ms (Views: 85.6ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#index as HTML
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members"
- [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (5.9ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.6ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.4ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 19ms (Views: 17.1ms | ActiveRecord: 1.0ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (1.3ms)[0m 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 (9.8ms)
+ 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)
-Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (2.7ms)[0m 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)
-Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.2ms)
- [1m[35m (0.8ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 8ms (ActiveRecord: 0.9ms)
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
- [1m[36m (1.5ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 11:46:47', '2013-08-06 11:46:47', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 11:46:47', '2013-08-06 11:46:47', 298486374)[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 11:46:47', '2013-08-06 11:46:47', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 11:46:47', '2013-08-06 11:46:47', 298486374)
- [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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', NULL, '2013-08-06 11:46:47', '2013-08-06 11:46:47', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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', NULL, '2013-08-06 11:46:47', '2013-08-06 11:46:47', 298486374)[0m
- [1m[35m (1.0ms)[0m COMMIT
- [1m[36m (0.0ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.8ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.4ms)[0m 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"}}
-Completed 404 Not Found in 1ms
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (56.1ms)[0m [1mCOMMIT[0m
+ [1m[35m (1.6ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.1ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.4ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:baa5798,'0.0',9(36)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.7ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (7.5ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 05:40:14.443837' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", "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"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061/adhesions/new
+Completed 302 Found in 60ms (ActiveRecord: 11.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
Processing by Adherent::CoordsController#destroy as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 0ms
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/coords
+Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "adherent_coords"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::CoordsController#edit as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 1ms
- [1m[35m (0.7ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::CoordsController#index as HTML
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" [0m
-Completed 500 Internal Server Error in 55ms
- [1m[35m (0.8ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."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 14ms (Views: 12.6ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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"=>"1"}
- [1m[36mAdherent::Member Load (0.7ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "1"]]
-Completed 404 Not Found in 2ms
+ Parameters: {"member_id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 05:40:14.613838' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (2.9ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.4ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.0ms)
+Completed 200 OK in 41ms (Views: 15.2ms | ActiveRecord: 4.1ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#show as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 1ms
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.8ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 12ms (Views: 9.2ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#update as HTML
- Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
-Completed 404 Not Found in 0ms
+ Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.6ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061/coord
+Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (5.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 11:46:48 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 11:46:48 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 5ms (ActiveRecord: 1.4ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
-Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 980190962]]
+ [1m[36mAdherent::Member Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (1.1ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members
-Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 11ms (ActiveRecord: 1.9ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
+ [1m[36m (1.1ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (54.5ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.5ms)
-Completed 200 OK in 72ms (Views: 69.0ms | ActiveRecord: 0.3ms)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (2.3ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#index as HTML
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members"
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.7ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.5ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 17ms (Views: 14.6ms | ActiveRecord: 0.8ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.6ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::MembersController#new as HTML
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (9.4ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.7ms)
-Completed 200 OK in 20ms (Views: 17.2ms | ActiveRecord: 0.0ms)
+ 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)
[1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.8ms)[0m 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)
-Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.3ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (1.9ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
[1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (22.4ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (1.4ms)[0m 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-06 11:50:16', '2013-08-06 11:50:16', 980190962)
- [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 11:50:16', '2013-08-06 11:50:16', 298486374)[0m
- [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 11:50:17', '2013-08-06 11:50:17', 980190962)[0m
- [1m[35mFixture Insert (0.4ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 11:50:17', '2013-08-06 11:50:17', 298486374)
- [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.8ms)[0m 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-06 11:50:17', '2013-08-06 11:50:17', 980190962, 980190962)
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT 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-06 11:50:17', '2013-08-06 11:50:17', 298486374, 298486374)[0m
- [1m[35m (3.6ms)[0m COMMIT
- [1m[36m (0.3ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (2.0ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.4ms)[0m 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"}}
-Completed 404 Not Found in 1ms
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_coords"
-Processing by Adherent::CoordsController#destroy as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 0ms
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (1.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#edit as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 1ms
+Connecting to database specified by database.yml
+ [1m[36m (1.1ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.8ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (99.9ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::CoordsController#index as HTML
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" [0m
- [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 980190962 LIMIT 1
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 298486374 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.7ms)
-Completed 200 OK in 84ms (Views: 81.3ms | ActiveRecord: 1.2ms)
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.6ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::CoordsController#new as HTML
- Parameters: {"member_id"=>"1"}
- [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "1"]]
-Completed 404 Not Found in 2ms
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (1.0ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::CoordsController#show as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 1ms
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.6ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#update as HTML
- Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
-Completed 404 Not Found in 0ms
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.8ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (2.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b0d5b78,'0.0',9(36)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
[1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (1.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
-Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.6ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:13:51.292115' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 11:50:17 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 11:50:17 UTC +00:00]]
- [1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 7ms (ActiveRecord: 1.5ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", "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"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061/adhesions/new
+Completed 302 Found in 54ms (ActiveRecord: 3.6ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
[1m[35m (0.3ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
-Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+Processing by Adherent::CoordsController#destroy as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 980190962]]
+ [1m[35mSQL (1.9ms)[0m DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members
-Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+Redirected to http://test.host/adherent/coords
+Completed 302 Found in 6ms (ActiveRecord: 2.4ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.4ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (25.6ms)
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
-Completed 200 OK in 36ms (Views: 34.6ms | ActiveRecord: 0.3ms)
+ 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::MembersController#index as HTML
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members"
- [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.0ms)
-Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.9ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::MembersController#new as HTML
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (8.8ms)
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.1ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:13:51.388457' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ 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)
-Completed 200 OK in 14ms (Views: 13.9ms | ActiveRecord: 0.0ms)
+ 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)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::CoordsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 0.3ms)
+ 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)
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061/coord
+Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::MembersController#update as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+Processing by Adherent::MembersController#create as HTML
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 8ms (ActiveRecord: 1.2ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
+ [1m[36m (0.7ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+Processing by Adherent::MembersController#index as HTML
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.5ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (1.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 68ms (Views: 61.2ms | ActiveRecord: 3.7ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#show as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#update as HTML
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.5ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
- [1m[36m (12.6ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 11:51:56', '2013-08-06 11:51:56', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 11:51:56', '2013-08-06 11:51:56', 298486374)[0m
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 11:51:56', '2013-08-06 11:51:56', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 11:51:56', '2013-08-06 11:51:56', 298486374)
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 11:51:56', '2013-08-06 11:51:56', 980190962, 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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-06 11:51:56', '2013-08-06 11:51:56', 298486374, 298486374)[0m
- [1m[35m (1.5ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.9ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
-Processing by Adherent::CoordsController#create as HTML
- Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}}
-Completed 404 Not Found in 0ms
- [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (67.5ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.8ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.8ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (1.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.6ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b6d4f9c,'0.0',9(36)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.5ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.7ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (1.7ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:14:50.522350' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", "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"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061/adhesions/new
+Completed 302 Found in 59ms (ActiveRecord: 4.2ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
Processing by Adherent::CoordsController#destroy as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 0ms
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/coords
+Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.7ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::CoordsController#edit as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 1ms
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (1.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::CoordsController#index as HTML
- [1m[36mAdherent::Coord Load (0.0ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" [0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 980190962 LIMIT 1
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 298486374 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.9ms)
-Completed 200 OK in 59ms (Views: 56.9ms | ActiveRecord: 0.7ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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 12ms (Views: 9.7ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (2.3ms)[0m 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"=>"980190962"}
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
-Completed 500 Internal Server Error in 2ms
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (1.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ Parameters: {"member_id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.8ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:14:50.646765' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.1ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#show as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 1ms
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 11ms (Views: 7.1ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#update as HTML
- Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
-Completed 404 Not Found in 1ms
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061/coord
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.9ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (3.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (1.1ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (56.6ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 11:51:56 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 11:51:56 UTC +00:00]]
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (2.3ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 62ms (ActiveRecord: 56.9ms)
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 12ms (ActiveRecord: 3.1ms)
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
- [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 980190962]]
+ [1m[36mSQL (0.4ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/adherent/members
-Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
- [1m[36m (1.4ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (31.5ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.0ms)
-Completed 200 OK in 41ms (Views: 39.1ms | ActiveRecord: 0.3ms)
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#index as HTML
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
- [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
- [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1[0m
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 1.0ms)
- [1m[35m (0.1ms)[0m ROLLBACK
+ 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)
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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.3ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
-Completed 200 OK in 17ms (Views: 16.9ms | ActiveRecord: 0.0ms)
+ 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
-Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.7ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ 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)
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (24.3ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (3.2ms)[0m 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-06 11:55:06', '2013-08-06 11:55:06', 980190962)
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 11:55:06', '2013-08-06 11:55:06', 298486374)[0m
- [1m[35mFixture Delete (1.1ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 11:55:06', '2013-08-06 11:55:06', 980190962)[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 11:55:06', '2013-08-06 11:55:06', 298486374)
- [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.5ms)[0m 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-06 11:55:06', '2013-08-06 11:55:06', 980190962, 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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-06 11:55:06', '2013-08-06 11:55:06', 298486374, 298486374)[0m
- [1m[35m (1.4ms)[0m COMMIT
- [1m[36m (0.6ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
+ [1m[35mAdherent::Member Exists (1.1ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 7ms (ActiveRecord: 1.5ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.9ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
-Processing by Adherent::CoordsController#create as HTML
- Parameters: {"coord"=>{"member_id"=>"980190962", "address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
-Completed 500 Internal Server Error in 2ms
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.1ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (1.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
-Processing by Adherent::CoordsController#destroy as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 0ms
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (12.1ms)[0m [1mALTER 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[0m
+ [1m[35m (4.0ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (1.4ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (1.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.6ms)[0m 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)
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36mFixture Delete (1.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.4ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (1.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.6ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (1.3ms)[0m 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)
+ [1m[36m (119.9ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (3.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (56.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (1.1ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (1.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (3.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (17.9ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:9d5cde4,'0.0',9(36)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (1.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#edit as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 1ms
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#index as HTML
- [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords"
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Member Load (2.6ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 298486374 LIMIT 1
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.6ms)
-Completed 200 OK in 75ms (Views: 69.4ms | ActiveRecord: 3.4ms)
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::CoordsController#new as HTML
- Parameters: {"member_id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
-Completed 500 Internal Server Error in 2ms
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (2.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (17.7ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:16:33.085899' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (2.3ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", "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"]]
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061/adhesions/new
+Completed 302 Found in 355ms (ActiveRecord: 23.2ms)
+ [1m[36m (1.0ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.9ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+Processing by Adherent::CoordsController#destroy as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.9ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/coords
+Completed 302 Found in 9ms (ActiveRecord: 2.0ms)
+ [1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (2.0ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m 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)
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.8ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:16:34.122195' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ 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)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (1.0ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#show as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 1ms
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.8ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 48ms (Views: 43.0ms | ActiveRecord: 1.1ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.0ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#update as HTML
- Parameters: {"member_id"=>"980190962", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/coords/980190962
-Completed 302 Found in 12ms (ActiveRecord: 0.9ms)
- [1m[35m (0.1ms)[0m ROLLBACK
+ Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (6.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (1.7ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.4ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061/coord
+Completed 302 Found in 13ms (ActiveRecord: 8.2ms)
+ [1m[35m (0.8ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (15.6ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (3.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (2.1ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 11:55:06 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 11:55:06 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 52ms (ActiveRecord: 2.2ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
-Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 980190962]]
+ [1m[36mAdherent::Member Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members
-Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 10ms (ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (1.0ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 7ms (ActiveRecord: 1.9ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (25.2ms)
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
-Completed 200 OK in 35ms (Views: 33.7ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::MembersController#index as HTML
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members"
- [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.0ms)
-Completed 200 OK in 17ms (Views: 15.0ms | ActiveRecord: 1.0ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::MembersController#new as HTML
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (12.3ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 0.0ms)
+ 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)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+Processing by Adherent::MembersController#index as HTML
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.6ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.2ms)
+ 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)
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#show as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (23.9ms)[0m 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
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
- [1m[35m (1.2ms)[0m ROLLBACK
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 31ms (ActiveRecord: 24.9ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
- [1m[36m (6.4ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.4ms)[0m 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-06 11:55:53', '2013-08-06 11:55:53', 980190962)
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 11:55:53', '2013-08-06 11:55:53', 298486374)[0m
- [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 11:55:53', '2013-08-06 11:55:53', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 11:55:53', '2013-08-06 11:55:53', 298486374)
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 11:55:53', '2013-08-06 11:55:53', 980190962, 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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-06 11:55:53', '2013-08-06 11:55:53', 298486374, 298486374)[0m
- [1m[35m (1.8ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
+ [1m[36m (12.4ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mFixture Delete (1.5ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (1.4ms)[0m 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)
+ [1m[36mFixture Insert (0.5ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.5ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36m (15.1ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (1.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.9ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (1.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (2.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (1.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
-Processing by Adherent::CoordsController#create as HTML
- Parameters: {"coord"=>{"member_id"=>"980190962", "address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
-Completed 500 Internal Server Error in 2ms
+ [1m[36mAdherent::Member Load (0.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.6ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.6ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (51.9ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:a6d8bfc,'0.0',9(36)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.9ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
-Processing by Adherent::CoordsController#destroy as HTML
- Parameters: {"id"=>"980190962"}
-Completed 404 Not Found in 0ms
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#edit as HTML
- Parameters: {"member_id"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (2.8ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (55.6ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.3ms)
-Completed 200 OK in 138ms (Views: 118.2ms | ActiveRecord: 3.1ms)
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (5.0ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (2.7ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:21:02.137730' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", "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"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061/adhesions/new
+Completed 302 Found in 69ms (ActiveRecord: 4.1ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+Processing by Adherent::CoordsController#destroy as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/coords
+Completed 302 Found in 7ms (ActiveRecord: 1.2ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.7ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::CoordsController#index as HTML
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords"
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 298486374 LIMIT 1
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 15ms (Views: 12.9ms | ActiveRecord: 1.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 38ms (Views: 34.2ms | ActiveRecord: 0.0ms)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"=>"980190962"}
- [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
-Completed 500 Internal Server Error in 4ms
- [1m[35m (0.2ms)[0m ROLLBACK
+ Parameters: {"member_id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (1.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:21:03.038087' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.0ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#show as HTML
- Parameters: {"member_id"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (4.7ms)
-Completed 200 OK in 33ms (Views: 30.7ms | ActiveRecord: 0.5ms)
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 15ms (Views: 12.0ms | ActiveRecord: 0.3ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#update as HTML
- Parameters: {"member_id"=>"980190962", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.1ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/coords/980190962
-Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
+Redirected to http://test.host/adherent/members/819299061/coord
+Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 8ms (ActiveRecord: 1.3ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 11:55:54 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 11:55:54 UTC +00:00]]
- [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 6ms (ActiveRecord: 1.5ms)
+ [1m[36mSQL (0.4ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
- [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
-Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.8ms)[0m DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 980190962]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members
-Completed 302 Found in 8ms (ActiveRecord: 2.3ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (15.2ms)
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
-Completed 200 OK in 25ms (Views: 23.6ms | ActiveRecord: 0.3ms)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#index as HTML
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members"
- [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.7ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.3ms)
Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 1.0ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (2.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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.3ms)
+ 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)
-Completed 200 OK in 17ms (Views: 16.0ms | ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
-Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 0.2ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.0ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.6ms)[0m 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
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 19ms (ActiveRecord: 0.4ms)
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 8ms (ActiveRecord: 1.1ms)
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
- [1m[36m (1.5ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[36m (0.5ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.5ms)[0m 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-06 11:56:57', '2013-08-06 11:56:57', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 11:56:57', '2013-08-06 11:56:57', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 11:56:57', '2013-08-06 11:56:57', 980190962)[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 11:56:57', '2013-08-06 11:56:57', 298486374)
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 11:56:57', '2013-08-06 11:56:57', 980190962, 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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-06 11:56:57', '2013-08-06 11:56:57', 298486374, 298486374)[0m
- [1m[35m (1.4ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (10.3ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (1.1ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (1.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (1.7ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:af00d84,'0.0',9(36)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#edit as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.6ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.6ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.4ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 26ms (Views: 20.6ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (1.2ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (1.0ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m 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"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (2.0ms)[0m 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, 06 Aug 2013 11:56:58 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", nil], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 06 Aug 2013 11:56:58 UTC +00:00], ["zip", "MyString"]]
+ [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:21:22.732206' WHERE "adherent_coords"."id" = 980190962
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/coords/980190963
-Completed 302 Found in 8ms (ActiveRecord: 2.5ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_coords"
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
-Processing by Adherent::CoordsController#destroy as HTML
- Parameters: {"member_id"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (2.6ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.7ms)[0m [1mDELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1[0m [["id", 980190962]]
- [1m[35m (0.6ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/coords
-Completed 302 Found in 10ms (ActiveRecord: 5.3ms)
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", "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"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061/adhesions/new
+Completed 302 Found in 15ms (ActiveRecord: 1.6ms)
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
- [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#edit as HTML
- Parameters: {"member_id"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.6ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (22.7ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.1ms)
-Completed 200 OK in 106ms (Views: 50.0ms | ActiveRecord: 1.0ms)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#index as HTML
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords"
- [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Member Load (0.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 298486374 LIMIT 1
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
-Completed 200 OK in 16ms (Views: 12.5ms | ActiveRecord: 1.4ms)
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+Processing by Adherent::CoordsController#destroy as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/coords
+Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.8ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.1ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m 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)
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.6ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"=>"980190962"}
- [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
-Completed 500 Internal Server Error in 5ms
- [1m[35m (0.2ms)[0m ROLLBACK
+ Parameters: {"member_id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:21:22.822936' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#show as HTML
- Parameters: {"member_id"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.0ms)
-Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.5ms)
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 10ms (Views: 5.3ms | ActiveRecord: 0.8ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Coord Load (2.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#update as HTML
- Parameters: {"member_id"=>"980190962", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (9.7ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (3.6ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/coords/980190962
-Completed 302 Found in 21ms (ActiveRecord: 13.8ms)
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061/coord
+Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
-Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 11:56:58 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 11:56:58 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
- [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
-Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+Processing by Adherent::MembersController#create as HTML
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members
-Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.1ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 5ms (ActiveRecord: 1.5ms)
+ [1m[36m (0.7ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (12.9ms)
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
-Completed 200 OK in 23ms (Views: 21.3ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#index as HTML
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members"
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (1.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 1.0ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ 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)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.1ms)[0m 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 /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (1.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ 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)
-Completed 200 OK in 10ms (Views: 6.5ms | ActiveRecord: 1.8ms)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#show as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.7ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
- [1m[36m (15.1ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36mFixture Delete (1.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.5ms)[0m 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-06 11:58:49', '2013-08-06 11:58:49', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 11:58:49', '2013-08-06 11:58:49', 298486374)[0m
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 11:58:49', '2013-08-06 11:58:49', 980190962)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 11:58:49', '2013-08-06 11:58:49', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 11:58:49', '2013-08-06 11:58:49', 980190962, 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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-06 11:58:49', '2013-08-06 11:58:49', 298486374, 298486374)[0m
- [1m[35m (0.7ms)[0m COMMIT
- [1m[36m (0.3ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.7ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.6ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
-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"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.2ms)[0m 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, 06 Aug 2013 11:58:49 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", nil], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 06 Aug 2013 11:58:49 UTC +00:00], ["zip", "MyString"]]
- [1m[36m (1.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/coords/980190963
-Completed 302 Found in 8ms (ActiveRecord: 2.9ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (3.0ms)[0m [1mCOMMIT[0m
+ [1m[35m (1.0ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
-Processing by Adherent::CoordsController#destroy as HTML
- Parameters: {"member_id"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (1.1ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (2.8ms)[0m [1mDELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1[0m [["id", 980190962]]
+ [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:a9a4408,'0.0',9(36)>], ["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/coords
-Completed 302 Found in 10ms (ActiveRecord: 4.3ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
[1m[35m (0.4ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#edit as HTML
- Parameters: {"member_id"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (1.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (53.8ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#edit as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
-Completed 200 OK in 101ms (Views: 80.3ms | ActiveRecord: 1.8ms)
+ 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)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.5ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (1.4ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+ [1m[35m (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Adhesion Load (0.6ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (32.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1[0m
+ 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)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#index as HTML
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords"
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 298486374 LIMIT 1
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
-Completed 200 OK in 14ms (Views: 11.8ms | ActiveRecord: 0.8ms)
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.6ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.7ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:22:54.303134' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", "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"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061/adhesions/new
+Completed 302 Found in 15ms (ActiveRecord: 2.3ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+Processing by Adherent::CoordsController#destroy as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (2.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/coords
+Completed 302 Found in 7ms (ActiveRecord: 3.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.4ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.5ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.0ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.1ms)[0m 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"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
+ Parameters: {"member_id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (10.6ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-06 11:58:49.666461' WHERE "adherent_coords"."id" = 980190962
+ [1m[35m (0.2ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:22:54.382738' WHERE "adherent_coords"."id" = 980190962
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 500 Internal Server Error in 21ms
+ 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)
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (1.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#show as HTML
- Parameters: {"member_id"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 24ms (Views: 21.2ms | ActiveRecord: 0.6ms)
- [1m[35m (0.1ms)[0m ROLLBACK
+ 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)
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#update as HTML
- Parameters: {"member_id"=>"980190962", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.1ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/coords/980190962
-Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
- [1m[35m (1.6ms)[0m ROLLBACK
+Redirected to http://test.host/adherent/members/819299061/coord
+Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.7ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.7ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 11:58:49 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 11:58:49 UTC +00:00]]
- [1m[35m (1.5ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 8ms (ActiveRecord: 2.3ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[36mSQL (0.4ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.7ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+Processing by Adherent::MembersController#index as HTML
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 18ms (Views: 14.1ms | ActiveRecord: 1.9ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
-Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#show as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (1.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.9ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#update as HTML
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 980190962]]
+ [1m[35mAdherent::Member Exists (0.3ms)[0m 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
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members
-Completed 302 Found in 12ms (ActiveRecord: 0.9ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (15.9ms)
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (1.8ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.7ms)[0m 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)
-Completed 200 OK in 27ms (Views: 25.3ms | ActiveRecord: 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: 0.9ms)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::MembersController#index as HTML
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members"
- [1m[36mAdherent::Coord Load (2.1ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (1.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.1ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.0ms)[0m 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)
-Completed 200 OK in 14ms (Views: 10.6ms | ActiveRecord: 2.8ms)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::MembersController#new as HTML
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (10.0ms)
+ [1m[36mAdherent::Member Load (1.0ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m 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)
-Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.0ms)
+ 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)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.7ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (1.8ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (46.7ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.3ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (1.6ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (1.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:a8229a4,'0.0',9(36)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.3ms)
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.8ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#edit as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (1.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::MembersController#update as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+ [1m[35m (0.3ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1[0m
+ 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)
[1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (25.6ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36mFixture Delete (1.1ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.9ms)[0m 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-06 11:59:12', '2013-08-06 11:59:12', 980190962)
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 11:59:12', '2013-08-06 11:59:12', 298486374)[0m
- [1m[35mFixture Delete (1.8ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 11:59:12', '2013-08-06 11:59:12', 980190962)[0m
- [1m[35mFixture Insert (0.7ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 11:59:12', '2013-08-06 11:59:12', 298486374)
- [1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.9ms)[0m 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-06 11:59:12', '2013-08-06 11:59:12', 980190962, 980190962)
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT 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-06 11:59:12', '2013-08-06 11:59:12', 298486374, 298486374)[0m
- [1m[35m (2.6ms)[0m COMMIT
- [1m[36m (0.6ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (1.6ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (2.6ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (1.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (1.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m 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"=>"980190962"}
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.8ms)[0m 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, 06 Aug 2013 11:59:13 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", nil], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 06 Aug 2013 11:59:13 UTC +00:00], ["zip", "MyString"]]
+ [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:24:19.033775' WHERE "adherent_coords"."id" = 980190962
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/coords/980190963
-Completed 302 Found in 13ms (ActiveRecord: 2.5ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_coords"
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.6ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
-Processing by Adherent::CoordsController#destroy as HTML
- Parameters: {"member_id"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (2.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.8ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.7ms)[0m [1mDELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1[0m [["id", 980190962]]
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", "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"]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/coords
-Completed 302 Found in 12ms (ActiveRecord: 4.3ms)
- [1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#edit as HTML
- Parameters: {"member_id"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (52.3ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms)
-Completed 200 OK in 92ms (Views: 77.5ms | ActiveRecord: 0.8ms)
+Redirected to http://test.host/adherent/members/819299061/adhesions/new
+Completed 302 Found in 16ms (ActiveRecord: 2.5ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#index as HTML
- [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords"
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 298486374 LIMIT 1
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.5ms)
-Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.7ms)
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+Processing by Adherent::CoordsController#destroy as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]
+ [1m[36m (1.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/coords
+Completed 302 Found in 6ms (ActiveRecord: 2.1ms)
+ [1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "adherent_coords"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.1ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.4ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.4ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-06 11:59:13.303633' WHERE "adherent_coords"."id" = 980190962
+ Parameters: {"member_id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:24:19.111463' WHERE "adherent_coords"."id" = 980190962
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.1ms)
+ 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)
-Completed 200 OK in 33ms (Views: 23.5ms | ActiveRecord: 1.0ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ 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)
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#show as HTML
- Parameters: {"member_id"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (1.8ms)
Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 9ms (Views: 6.2ms | ActiveRecord: 0.5ms)
- [1m[35m (0.1ms)[0m ROLLBACK
+ 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)
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#update as HTML
- Parameters: {"member_id"=>"980190962", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.6ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/coords/980190962
-Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
- [1m[35m (2.0ms)[0m ROLLBACK
+Redirected to http://test.host/adherent/members/819299061/coord
+Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
-Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 11:59:13 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 11:59:13 UTC +00:00]]
- [1m[35m (0.5ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (1.9ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
-Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 980190962]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members
-Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+Processing by Adherent::MembersController#create as HTML
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 8ms (ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (13.0ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
-Completed 200 OK in 24ms (Views: 22.0ms | ActiveRecord: 0.3ms)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#index as HTML
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members"
- [1m[36mAdherent::Coord Load (0.9ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.4ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.6ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.6ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.2ms)
Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 11ms (Views: 8.2ms | ActiveRecord: 1.5ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (2.3ms)[0m 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 (12.4ms)
+ 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)
-Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.4ms)[0m 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)
-Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.2ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35m (0.6ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.7ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 9ms (ActiveRecord: 1.3ms)
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.9ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.5ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (1.4ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.6ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (4.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.1ms)[0m 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)
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.4ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.6ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" [0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"980190962"}
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions"
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
- [1m[36m (1.6ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[36m (0.7ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.9ms)[0m 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-06 12:00:45', '2013-08-06 12:00:45', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 12:00:45', '2013-08-06 12:00:45', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 12:00:45', '2013-08-06 12:00:45', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 12:00:45', '2013-08-06 12:00:45', 298486374)
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 12:00:45', '2013-08-06 12:00:45', 980190962, 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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-06 12:00:45', '2013-08-06 12:00:45', 298486374, 298486374)[0m
- [1m[35m (0.9ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.9ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
-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"=>"980190962"}
- [1m[35mAdherent::Member Load (0.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.7ms)[0m 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, 06 Aug 2013 12:00:45 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", nil], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 06 Aug 2013 12:00:45 UTC +00:00], ["zip", "MyString"]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/coords/980190963
-Completed 302 Found in 8ms (ActiveRecord: 2.6ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (42.0ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.8ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.8ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
-Processing by Adherent::CoordsController#destroy as HTML
- Parameters: {"member_id"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.4ms)[0m [1mDELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1[0m [["id", 980190962]]
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b6fbc78,'0.0',9(36)>], ["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/coords
-Completed 302 Found in 7ms (ActiveRecord: 2.1ms)
- [1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.8ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#edit as HTML
- Parameters: {"member_id"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (71.3ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (4.0ms)
-Completed 200 OK in 119ms (Views: 98.3ms | ActiveRecord: 0.8ms)
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#edit as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
[1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.6ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.4ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 15ms (Views: 9.9ms | ActiveRecord: 1.0ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:28:28.198781' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", "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"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061/adhesions/new
+Completed 302 Found in 15ms (ActiveRecord: 2.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+Processing by Adherent::CoordsController#destroy as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (1.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/coords
+Completed 302 Found in 7ms (ActiveRecord: 1.8ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.2ms)[0m 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)
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::CoordsController#index as HTML
- [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords"
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Member Load (0.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 298486374 LIMIT 1
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 15ms (Views: 12.5ms | ActiveRecord: 1.3ms)
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.1ms)[0m 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"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.5ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-06 12:00:46.077737' WHERE "adherent_coords"."id" = 980190962
+ Parameters: {"member_id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:28:28.278674' WHERE "adherent_coords"."id" = 980190962
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.5ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
-Completed 200 OK in 23ms (Views: 13.8ms | ActiveRecord: 1.3ms)
- [1m[35m (0.2ms)[0m ROLLBACK
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Coord Load (0.0ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#show as HTML
- Parameters: {"member_id"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
-Completed 200 OK in 12ms (Views: 7.7ms | ActiveRecord: 0.6ms)
- [1m[35m (0.1ms)[0m ROLLBACK
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.1ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#update as HTML
- Parameters: {"member_id"=>"980190962", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.1ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.8ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/coords/980190962
-Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061/coord
+Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (1.7ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 12:00:46 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 12:00:46 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
-Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 980190962]]
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (1.5ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 10ms (ActiveRecord: 2.0ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/adherent/members
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (11.4ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
-Completed 200 OK in 24ms (Views: 22.4ms | ActiveRecord: 0.0ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#index as HTML
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members"
- [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
-Completed 200 OK in 15ms (Views: 12.2ms | ActiveRecord: 1.1ms)
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (1.0ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 22ms (Views: 16.4ms | ActiveRecord: 3.1ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::MembersController#new as HTML
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (8.7ms)
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#show as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
-Completed 200 OK in 13ms (Views: 12.7ms | ActiveRecord: 0.0ms)
+ 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)
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#update as HTML
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
-Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.2ms)
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.6ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::MembersController#update as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.7ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (1.8ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061
+ [1m[36mAdherent::Reglement Load (0.4ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.1ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.7ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.1ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
- [1m[36m (1.5ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.4ms)[0m 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-06 12:01:56', '2013-08-06 12:01:56', 980190962)
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 12:01:56', '2013-08-06 12:01:56', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 12:01:56', '2013-08-06 12:01:56', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 12:01:56', '2013-08-06 12:01:56', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 12:01:56', '2013-08-06 12:01:56', 980190962, 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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-06 12:01:56', '2013-08-06 12:01:56', 298486374, 298486374)[0m
- [1m[35m (1.4ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (4.9ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36m (34.8ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.4ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.0ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.6ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.8ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (1.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.1ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b59fce4,'0.0',9(36)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#edit as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (1.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (1.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (1.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1[0m
+ 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)
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.6ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.3ms)[0m 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"=>"980190962"}
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.1ms)[0m 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, 06 Aug 2013 12:01:56 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", nil], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 06 Aug 2013 12:01:56 UTC +00:00], ["zip", "MyString"]]
+ [1m[35m (0.5ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:28:49.702315' WHERE "adherent_coords"."id" = 980190962
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190962/coord
-Completed 302 Found in 6ms (ActiveRecord: 1.7ms)
- [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "adherent_coords"
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
-Processing by Adherent::CoordsController#destroy as HTML
- Parameters: {"member_id"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1[0m [["id", 980190962]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/coords
-Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
+ [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", "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"]]
+ [1m[35m (0.9ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061/adhesions/new
+Completed 302 Found in 23ms (ActiveRecord: 3.7ms)
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::CoordsController#edit as HTML
- Parameters: {"member_id"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (1.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (58.7ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.2ms)
-Completed 200 OK in 107ms (Views: 90.7ms | ActiveRecord: 1.8ms)
- [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+Processing by Adherent::CoordsController#destroy as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/coords
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::CoordsController#index as HTML
- [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords"
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Member Load (1.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 298486374 LIMIT 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)
-Completed 200 OK in 14ms (Views: 10.5ms | ActiveRecord: 1.7ms)
+ 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
+ Parameters: {"member_id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-06 12:01:56.571029' WHERE "adherent_coords"."id" = 980190962
+ [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:28:49.789759' WHERE "adherent_coords"."id" = 980190962
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.9ms)
+ 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)
-Completed 200 OK in 20ms (Views: 12.8ms | ActiveRecord: 1.1ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ 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)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#show as HTML
- Parameters: {"member_id"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.0ms)
-Completed 200 OK in 13ms (Views: 6.4ms | ActiveRecord: 0.8ms)
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 11ms (Views: 7.6ms | ActiveRecord: 0.5ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (2.0ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#update as HTML
- Parameters: {"member_id"=>"980190962", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/coords/980190962
-Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
+ Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (1.0ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061/coord
+Completed 302 Found in 6ms (ActiveRecord: 1.2ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (1.1ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 12:01:56 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 12:01:56 UTC +00:00]]
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 9ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+Processing by Adherent::MembersController#index as HTML
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 20ms (Views: 16.1ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
-Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[35mAdherent::Member Load (0.9ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#show as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (3.4ms)[0m 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)
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#update as HTML
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 980190962]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members
-Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[35mAdherent::Member Exists (0.3ms)[0m 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
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.9ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.6ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (11.8ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms)
-Completed 200 OK in 21ms (Views: 19.4ms | ActiveRecord: 0.6ms)
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.5ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061
+ [1m[36mAdherent::Reglement Load (4.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.4ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (7.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (4.8ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::MembersController#index as HTML
- [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members"
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.4ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (1.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m 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)
-Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.9ms)
+ 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::MembersController#new as HTML
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (11.4ms)
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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)
-Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.0ms)
+ 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 980190962], ["amount", #<BigDecimal:b7e8884,'0.999E1',18(18)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+Redirected to http://test.host/adherent/members/819299061/payments
+Completed 302 Found in 18ms (ActiveRecord: 2.0ms)
+ [1m[35m (4.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"980190962"}
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions"
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (60.7ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.8ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.2ms)
+ [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.1ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (13.6ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b9f6914,'0.0',9(36)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (5.0ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
-Processing by Adherent::MembersController#update as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#edit as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
[1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.5ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-06 12:02:17', '2013-08-06 12:02:17', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-06 12:02:17', '2013-08-06 12:02:17', 298486374)[0m
- [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-06 12:02:17', '2013-08-06 12:02:17', 980190962)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-06 12:02:17', '2013-08-06 12:02:17', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.2ms)[0m 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-06 12:02:17', '2013-08-06 12:02:17', 980190962, 980190962)
- [1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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-06 12:02:17', '2013-08-06 12:02:17', 298486374, 298486374)[0m
- [1m[35m (112.7ms)[0m COMMIT
- [1m[36m (0.6ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (2.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (1.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.6ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.4ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+ [1m[35m (0.7ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1[0m
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.8ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m 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"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.2ms)[0m 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, 06 Aug 2013 12:02:17 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", nil], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 06 Aug 2013 12:02:17 UTC +00:00], ["zip", "MyString"]]
+ Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.7ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:41:30.173725' WHERE "adherent_coords"."id" = 980190962
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190962/coord
-Completed 302 Found in 7ms (ActiveRecord: 1.7ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
-Processing by Adherent::CoordsController#destroy as HTML
- Parameters: {"member_id"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1[0m [["id", 980190962]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/coords
-Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", "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"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061/adhesions/new
+Completed 302 Found in 13ms (ActiveRecord: 2.2ms)
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
- [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+Processing by Adherent::CoordsController#destroy as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.2ms)[0m DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/coords
+Completed 302 Found in 7ms (ActiveRecord: 2.0ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (1.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.1ms)[0m 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"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (1.8ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (54.4ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.1ms)
-Completed 200 OK in 93ms (Views: 80.1ms | ActiveRecord: 2.1ms)
- [1m[35m (0.5ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::CoordsController#index as HTML
- [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords"
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 298486374 LIMIT 1
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.9ms)
+ 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Coord Load (1.0ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"=>"980190962"}
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1
+ Parameters: {"member_id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-06 12:02:17.406089' WHERE "adherent_coords"."id" = 980190962
+ [1m[35m (0.2ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:41:30.260395' WHERE "adherent_coords"."id" = 980190962
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.2ms)
+ 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)
-Completed 200 OK in 22ms (Views: 12.3ms | ActiveRecord: 1.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)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Coord Load (0.1ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#show as HTML
- Parameters: {"member_id"=>"980190962", "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (1.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 0.5ms)
+ 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)
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::CoordsController#update as HTML
- Parameters: {"member_id"=>"980190962", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/coords/980190962
-Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
+Redirected to http://test.host/adherent/members/819299061/coord
+Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (2.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.7ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
-Processing by Adherent::MembersController#create as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["birthdate", Mon, 06 Jun 1955], ["created_at", Tue, 06 Aug 2013 12:02:17 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "001"], ["updated_at", Tue, 06 Aug 2013 12:02:17 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/adherent/members/980190963/coord/new
-Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
-Processing by Adherent::MembersController#destroy as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 980190962]]
+Processing by Adherent::MembersController#create as HTML
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members
-Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (5.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 10ms (ActiveRecord: 5.6ms)
+ [1m[36m (0.8ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.9ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#edit as HTML
- Parameters: {"id"=>"980190962"}
- [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (2.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (14.7ms)
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
-Completed 200 OK in 26ms (Views: 24.4ms | ActiveRecord: 0.1ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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 39ms (Views: 35.1ms | ActiveRecord: 2.4ms)
+ [1m[35m (1.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.9ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
Processing by Adherent::MembersController#index as HTML
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members"
- [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 980190962 LIMIT 1[0m
- [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298486374 LIMIT 1
- Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
-Completed 200 OK in 17ms (Views: 14.0ms | ActiveRecord: 0.9ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
-Processing by Adherent::MembersController#new as HTML
- Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (14.8ms)
+ [1m[36mAdherent::Member Load (2.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (5.7ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (3.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (1.1ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (1.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (1.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (2.0ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
-Completed 200 OK in 22ms (Views: 21.2ms | ActiveRecord: 0.0ms)
+ 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)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.1ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#show as HTML
- Parameters: {"id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
-Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.3ms)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
+ 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
Processing by Adherent::MembersController#update as HTML
- Parameters: {"member"=>{"birthdate"=>"1955-06-06", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"980190962"}
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/adherent/members/980190962
-Completed 302 Found in 10ms (ActiveRecord: 0.6ms)
- [1m[35m (0.2ms)[0m ROLLBACK
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
[1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (52.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mFixture Delete (10.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (16.7ms)[0m 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-07 07:55:03', '2013-08-07 07:55:03', 980190962)
- [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 07:55:03', '2013-08-07 07:55:03', 298486374)[0m
- [1m[35mFixture Delete (0.9ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (16.9ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 07:55:03', '2013-08-07 07:55:03', 980190962)[0m
- [1m[35mFixture Insert (0.4ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 07:55:03', '2013-08-07 07:55:03', 298486374)
- [1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.6ms)[0m 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-07 07:55:03', '2013-08-07 07:55:03', 980190962, 980190962)
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT 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-07 07:55:03', '2013-08-07 07:55:03', 298486374, 298486374)[0m
- [1m[35m (1.5ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (1.0ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (1.6ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.5ms)[0m 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)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.4ms)[0m 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-07 07:56:53', '2013-08-07 07:56:53', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 07:56:53', '2013-08-07 07:56:53', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 07:56:53', '2013-08-07 07:56:53', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 07:56:53', '2013-08-07 07:56:53', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (1.0ms)[0m 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-07 07:56:53', '2013-08-07 07:56:53', 980190962, 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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-07 07:56:53', '2013-08-07 07:56:53', 298486374, 298486374)[0m
- [1m[35m (1.0ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.8ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.1ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.6ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 980190962], ["amount", #<BigDecimal:bf0a658,'0.999E1',18(18)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+Redirected to http://test.host/adherent/members/819299061/payments
+Completed 302 Found in 21ms (ActiveRecord: 2.4ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Adhesion Load (0.1ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"980190962"}
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions"
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
- [1m[36m (2.7ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[36m (1.3ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.9ms)[0m 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-07 07:57:22', '2013-08-07 07:57:22', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 07:57:22', '2013-08-07 07:57:22', 298486374)[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 07:57:22', '2013-08-07 07:57:22', 980190962)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 07:57:22', '2013-08-07 07:57:22', 298486374)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.2ms)[0m 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-07 07:57:22', '2013-08-07 07:57:22', 980190962, 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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-07 07:57:22', '2013-08-07 07:57:22', 298486374, 298486374)[0m
- [1m[35m (1.0ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (15.5ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.6ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (2.3ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:a40fd08,'0.0',9(36)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (1.7ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.4ms)[0m 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-07 07:57:41', '2013-08-07 07:57:41', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 07:57:41', '2013-08-07 07:57:41', 298486374)[0m
- [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 07:57:41', '2013-08-07 07:57:41', 980190962)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 07:57:41', '2013-08-07 07:57:41', 298486374)
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.2ms)[0m 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-07 07:57:41', '2013-08-07 07:57:41', 980190962, 980190962)
- [1m[36mFixture Insert (0.6ms)[0m [1mINSERT 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-07 07:57:41', '2013-08-07 07:57:41', 298486374, 298486374)[0m
- [1m[35m (1.1ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (1.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (4.6ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (1.3ms)[0m BEGIN
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-07 07:59:14', '2013-08-07 07:59:14', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 07:59:14', '2013-08-07 07:59:14', 298486374)[0m
- [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 07:59:15', '2013-08-07 07:59:15', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 07:59:15', '2013-08-07 07:59:15', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.2ms)[0m 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-07 07:59:15', '2013-08-07 07:59:15', 980190962, 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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-07 07:59:15', '2013-08-07 07:59:15', 298486374, 298486374)[0m
- [1m[35m (2.0ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (1.0ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (1.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#edit as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.6ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.6ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+ [1m[35m (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1[0m
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (1.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.1ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.8ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:43:07.064491' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", "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"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061/adhesions/new
+Completed 302 Found in 17ms (ActiveRecord: 2.4ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+Processing by Adherent::CoordsController#destroy as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.1ms)[0m DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/coords
+Completed 302 Found in 6ms (ActiveRecord: 1.8ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_coords"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (31.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36mFixture Delete (4.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (2.3ms)[0m 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-07 16:01:33', '2013-08-07 16:01:33', 980190962)
- [1m[36mFixture Insert (3.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 16:01:33', '2013-08-07 16:01:33', 298486374)[0m
- [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (18.6ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 16:01:34', '2013-08-07 16:01:34', 980190962)[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 16:01:34', '2013-08-07 16:01:34', 298486374)
- [1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (1.5ms)[0m 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-07 16:01:34', '2013-08-07 16:01:34', 980190962, 980190962)
- [1m[36mFixture Insert (2.0ms)[0m [1mINSERT 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-07 16:01:34', '2013-08-07 16:01:34', 298486374, 298486374)[0m
- [1m[35m (5.6ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (5.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (29.6ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:43:07.144247' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::CoordsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.0ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061/coord
+Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+Processing by Adherent::MembersController#create as HTML
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (1.3ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 10ms (ActiveRecord: 1.8ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (1.0ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+Processing by Adherent::MembersController#index as HTML
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 20ms (Views: 16.8ms | ActiveRecord: 1.8ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (54.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (2.6ms)[0m BEGIN
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (5.9ms)[0m 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-07 16:02:14', '2013-08-07 16:02:14', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 16:02:14', '2013-08-07 16:02:14', 298486374)[0m
- [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 16:02:14', '2013-08-07 16:02:14', 980190962)[0m
- [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 16:02:14', '2013-08-07 16:02:14', 298486374)
- [1m[36mFixture Delete (5.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.4ms)[0m 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-07 16:02:14', '2013-08-07 16:02:14', 980190962, 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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-07 16:02:14', '2013-08-07 16:02:14', 298486374, 298486374)[0m
- [1m[35m (2.0ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#show as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (5.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (2.8ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#update as HTML
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1
- [1m[36m (2.4ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (26.3ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.4ms)[0m 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-07 16:03:56', '2013-08-07 16:03:56', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 16:03:56', '2013-08-07 16:03:56', 298486374)[0m
- [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 16:03:56', '2013-08-07 16:03:56', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 16:03:56', '2013-08-07 16:03:56', 298486374)
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-07 16:03:56', '2013-08-07 16:03:56', 980190962, 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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-07 16:03:56', '2013-08-07 16:03:56', 298486374, 298486374)[0m
- [1m[35m (16.6ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.6ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.9ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (19.9ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.4ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (13.0ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.5ms)[0m 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-07 16:07:02', '2013-08-07 16:07:02', 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 16:07:02', '2013-08-07 16:07:02', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 16:07:02', '2013-08-07 16:07:02', 980190962)[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 16:07:02', '2013-08-07 16:07:02', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.4ms)[0m 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-07 16:07:02', '2013-08-07 16:07:02', 980190962, 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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-07 16:07:02', '2013-08-07 16:07:02', 298486374, 298486374)[0m
- [1m[35m (1.7ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+Completed 500 Internal Server Error in 5ms
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"980190962"}
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions"
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Reglement Load (1.0ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35m (4.7ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (15.8ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
- [1m[36m (15.7ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.4ms)[0m 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-07 16:08:17', '2013-08-07 16:08:17', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 16:08:17', '2013-08-07 16:08:17', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 16:08:17', '2013-08-07 16:08:17', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 16:08:17', '2013-08-07 16:08:17', 298486374)
+ [1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.1ms)[0m 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-07 16:08:17', '2013-08-07 16:08:17', 980190962, 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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-07 16:08:17', '2013-08-07 16:08:17', 298486374, 298486374)[0m
- [1m[35m (1.7ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (136.3ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (8.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (2.9ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (2.4ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:a6ffcd4,'0.0',9(36)>], ["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]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.6ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#edit as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+ [1m[35m (0.4ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (2.5ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1[0m
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.6ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (1.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:44:06.037157' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", "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"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061/adhesions/new
+Completed 302 Found in 14ms (ActiveRecord: 1.9ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+Processing by Adherent::CoordsController#destroy as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.5ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/coords
+Completed 302 Found in 14ms (ActiveRecord: 1.5ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (16.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.7ms)[0m 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-07 16:21:07', '2013-08-07 16:21:07', 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 16:21:07', '2013-08-07 16:21:07', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 16:21:07', '2013-08-07 16:21:07', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 16:21:07', '2013-08-07 16:21:07', 298486374)
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-07 16:21:07', '2013-08-07 16:21:07', 980190962, 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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-07 16:21:07', '2013-08-07 16:21:07', 298486374, 298486374)[0m
- [1m[35m (1.4ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Adhesion Load (0.6ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.4ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (1.1ms)[0m 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)
+ [1m[36m (1.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (2.9ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (1.5ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (1.8ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:44:06.175573' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::CoordsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 11ms (Views: 7.4ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.7ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061/coord
+Completed 302 Found in 13ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.8ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (1.7ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (2.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (3.2ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (4.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+Processing by Adherent::MembersController#create as HTML
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[35m (0.5ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (3.9ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 27ms (ActiveRecord: 5.0ms)
+ [1m[35m (3.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (1.1ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (1.6ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (5.7ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (1.8ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.6ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 13ms (ActiveRecord: 9.2ms)
+ [1m[36m (3.1ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (3.5ms)[0m 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"}
+ [1m[36mAdherent::Member Load (1.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (4.8ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (1.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+Processing by Adherent::MembersController#index as HTML
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (6.9ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (3.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (1.1ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (2.1ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (2.9ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (1.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#show as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (7.4ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36mFixture Delete (1.5ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.5ms)[0m 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-07 16:23:31', '2013-08-07 16:23:31', 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 16:23:31', '2013-08-07 16:23:31', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 16:23:31', '2013-08-07 16:23:31', 980190962)[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 16:23:31', '2013-08-07 16:23:31', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.5ms)[0m 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-07 16:23:31', '2013-08-07 16:23:31', 980190962, 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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-07 16:23:31', '2013-08-07 16:23:31', 298486374, 298486374)[0m
- [1m[35m (3.4ms)[0m COMMIT
- [1m[36m (1.1ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.5ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#update as HTML
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Adhesion Load (0.6ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (31.6ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
-Connecting to database specified by database.yml
- [1m[36m (4.9ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (1.0ms)[0m BEGIN
- [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.7ms)[0m 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-07 16:26:17', '2013-08-07 16:26:17', 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 16:26:17', '2013-08-07 16:26:17', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (1.0ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 16:26:17', '2013-08-07 16:26:17', 980190962)[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 16:26:17', '2013-08-07 16:26:17', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-07 16:26:17', '2013-08-07 16:26:17', 980190962, 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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-07 16:26:17', '2013-08-07 16:26:17', 298486374, 298486374)[0m
- [1m[35m (5.1ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.5ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061
+ [1m[36mAdherent::Reglement Load (0.4ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (2.5ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.1ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (1.0ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Adhesion Load (0.9ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.1ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (1.1ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.1ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (1.6ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (33.0ms)[0m INSERT INTO "adherent_adhesions" ("created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Wed, 07 Aug 2013 16:26:17 UTC +00:00], ["from_date", Wed, 07 Aug 2013], ["member_id", 980190962], ["to_date", Wed, 06 Aug 2014], ["updated_at", Wed, 07 Aug 2013 16:26:17 UTC +00:00]]
- [1m[36m (15.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mAdherent::Adhesion Load (7.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (28.0ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 980190962], ["amount", #<BigDecimal:a94c884,'0.999E1',18(18)>], ["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]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+Redirected to http://test.host/adherent/members/819299061/payments
+Completed 302 Found in 20ms (ActiveRecord: 2.1ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Adhesion Load (0.0ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"980190962"}
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.5ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Adhesion Load (0.0ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions"
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35m (0.1ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.5ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (1.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
- [1m[36m (5.8ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.6ms)[0m 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-07 16:26:55', '2013-08-07 16:26:55', 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 16:26:55', '2013-08-07 16:26:55', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 16:26:55', '2013-08-07 16:26:55', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 16:26:55', '2013-08-07 16:26:55', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-07 16:26:55', '2013-08-07 16:26:55', 980190962, 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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-07 16:26:55', '2013-08-07 16:26:55', 298486374, 298486374)[0m
- [1m[35m (67.7ms)[0m COMMIT
- [1m[36m (1.0ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.5ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.8ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (1.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.7ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (68.2ms)[0m [1mCOMMIT[0m
+ [1m[35m (1.3ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.9ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (2.2ms)[0m INSERT INTO "adherent_adhesions" ("created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Wed, 07 Aug 2013 16:26:56 UTC +00:00], ["from_date", Wed, 07 Aug 2013], ["member_id", 980190962], ["to_date", Wed, 06 Aug 2014], ["updated_at", Wed, 07 Aug 2013 16:26:56 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
- [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[35mAdherent::Member Load (0.9ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.6ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.8ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:be37ca8,'0.0',9(36)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.5ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Exists (22.7ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#edit as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
[1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (7.1ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (1.2ms)[0m 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-07 16:27:41', '2013-08-07 16:27:41', 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 16:27:41', '2013-08-07 16:27:41', 298486374)[0m
- [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 16:27:41', '2013-08-07 16:27:41', 980190962)[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 16:27:41', '2013-08-07 16:27:41', 298486374)
- [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.5ms)[0m 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-07 16:27:41', '2013-08-07 16:27:41', 980190962, 980190962)
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT 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-07 16:27:41', '2013-08-07 16:27:41', 298486374, 298486374)[0m
- [1m[35m (32.8ms)[0m COMMIT
- [1m[36m (0.6ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.6ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+ [1m[35m (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (1.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Adhesion Load (0.6ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1[0m
+ 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)
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
+ [1m[35mAdherent::Coord Load (0.6ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.3ms)[0m INSERT INTO "adherent_adhesions" ("created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Wed, 07 Aug 2013 16:27:41 UTC +00:00], ["from_date", Wed, 07 Aug 2013], ["member_id", 980190962], ["to_date", Wed, 06 Aug 2014], ["updated_at", Wed, 07 Aug 2013 16:27:41 UTC +00:00]]
+ [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:45:39.156713' WHERE "adherent_coords"."id" = 980190962
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
- [1m[35m (0.8ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", "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"]]
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061/adhesions/new
+Completed 302 Found in 14ms (ActiveRecord: 2.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Exists (10.7ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Exists (2.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1[0m
- [1m[35m (2.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (2.0ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+Processing by Adherent::CoordsController#destroy as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/coords
+Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.5ms)[0m 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-07 16:28:42', '2013-08-07 16:28:42', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 16:28:42', '2013-08-07 16:28:42', 298486374)[0m
- [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 16:28:42', '2013-08-07 16:28:42', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 16:28:42', '2013-08-07 16:28:42', 298486374)
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-07 16:28:42', '2013-08-07 16:28:42', 980190962, 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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-07 16:28:42', '2013-08-07 16:28:42', 298486374, 298486374)[0m
- [1m[35m (0.9ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.1ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (1.0ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Adhesion Load (1.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "adherent_adhesions" ("created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Wed, 07 Aug 2013 16:28:42 UTC +00:00], ["from_date", Wed, 07 Aug 2013], ["member_id", 980190962], ["to_date", Wed, 06 Aug 2014], ["updated_at", Wed, 07 Aug 2013 16:28:42 UTC +00:00]]
+ [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:45:39.238145' WHERE "adherent_coords"."id" = 980190962
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ 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)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Exists (12.2ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1[0m
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::CoordsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 11ms (Views: 8.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (5.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Exists (1.5ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (24.9ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (1.3ms)[0m 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-07 16:30:01', '2013-08-07 16:30:01', 980190962)
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 16:30:01', '2013-08-07 16:30:01', 298486374)[0m
- [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 16:30:02', '2013-08-07 16:30:02', 980190962)[0m
- [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 16:30:02', '2013-08-07 16:30:02', 298486374)
- [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.4ms)[0m 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-07 16:30:02', '2013-08-07 16:30:02', 980190962, 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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-07 16:30:02', '2013-08-07 16:30:02', 298486374, 298486374)[0m
- [1m[35m (2.2ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (1.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "adherent_adhesions" ("created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Wed, 07 Aug 2013 16:30:02 UTC +00:00], ["from_date", Wed, 07 Aug 2013], ["member_id", 980190962], ["to_date", Wed, 06 Aug 2014], ["updated_at", Wed, 07 Aug 2013 16:30:02 UTC +00:00]]
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mAdherent::Adhesion Load (1.1ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Redirected to http://test.host/adherent/members/819299061/coord
+Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Exists (10.7ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
[1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (20.9ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.5ms)[0m 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-07 16:32:01', '2013-08-07 16:32:01', 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 16:32:01', '2013-08-07 16:32:01', 298486374)[0m
- [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 16:32:01', '2013-08-07 16:32:01', 980190962)[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 16:32:01', '2013-08-07 16:32:01', 298486374)
- [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.4ms)[0m 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-07 16:32:01', '2013-08-07 16:32:01', 980190962, 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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-07 16:32:01', '2013-08-07 16:32:01', 298486374, 298486374)[0m
- [1m[35m (31.3ms)[0m COMMIT
- [1m[36m (0.6ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (1.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Adhesion Load (1.1ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (1.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "adherent_adhesions" ("created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Wed, 07 Aug 2013 16:32:01 UTC +00:00], ["from_date", Wed, 07 Aug 2013], ["member_id", 980190962], ["to_date", Wed, 06 Aug 2014], ["updated_at", Wed, 07 Aug 2013 16:32:01 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+Processing by Adherent::MembersController#create as HTML
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
- [1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 8ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (7.9ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Exists (11.7ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+Processing by Adherent::MembersController#index as HTML
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.2ms)
+Completed 200 OK in 22ms (Views: 17.8ms | ActiveRecord: 2.0ms)
[1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (61.0ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.2ms)[0m BEGIN
- [1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.4ms)[0m 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-07 18:12:18', '2013-08-07 18:12:18', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 18:12:18', '2013-08-07 18:12:18', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 18:12:18', '2013-08-07 18:12:18', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 18:12:18', '2013-08-07 18:12:18', 298486374)
- [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.4ms)[0m 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-07 18:12:18', '2013-08-07 18:12:18', 980190962, 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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-07 18:12:18', '2013-08-07 18:12:18', 298486374, 298486374)[0m
- [1m[35m (3.4ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (1.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (1.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#show as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#update as HTML
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (1.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Adhesion Load (3.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (1.8ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
- [1m[36m (3.9ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (19.8ms)[0m INSERT INTO "adherent_adhesions" ("created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Wed, 07 Aug 2013 18:12:18 UTC +00:00], ["from_date", Wed, 07 Aug 2013], ["member_id", 980190962], ["to_date", Wed, 06 Aug 2014], ["updated_at", Wed, 07 Aug 2013 18:12:18 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.0ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.9ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.1ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (20.5ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (1.0ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (20.1ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.8ms)[0m 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-07 18:12:49', '2013-08-07 18:12:49', 980190962)
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 18:12:49', '2013-08-07 18:12:49', 298486374)[0m
- [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (2.0ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 18:12:49', '2013-08-07 18:12:49', 980190962)[0m
- [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 18:12:49', '2013-08-07 18:12:49', 298486374)
- [1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (1.4ms)[0m 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-07 18:12:49', '2013-08-07 18:12:49', 980190962, 980190962)
- [1m[36mFixture Insert (0.6ms)[0m [1mINSERT 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-07 18:12:49', '2013-08-07 18:12:49', 298486374, 298486374)[0m
- [1m[35m (12.3ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (1.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "adherent_adhesions" ("created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Wed, 07 Aug 2013 18:12:49 UTC +00:00], ["from_date", Wed, 07 Aug 2013], ["member_id", 980190962], ["to_date", Wed, 06 Aug 2014], ["updated_at", Wed, 07 Aug 2013 18:12:49 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mAdherent::Adhesion Load (1.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.4ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061
+ [1m[36mAdherent::Reglement Load (0.6ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.1ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (21.6ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1
+ [1m[36mAdherent::Member Load (0.9ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (21.2ms)[0m [1mALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.5ms)[0m 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-07 18:13:35', '2013-08-07 18:13:35', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-07 18:13:35', '2013-08-07 18:13:35', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-07 18:13:35', '2013-08-07 18:13:35', 980190962)[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-07 18:13:35', '2013-08-07 18:13:35', 298486374)
- [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.4ms)[0m 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-07 18:13:35', '2013-08-07 18:13:35', 980190962, 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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-07 18:13:35', '2013-08-07 18:13:35', 298486374, 298486374)[0m
- [1m[35m (2.8ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.7ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (1.7ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m 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"}
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 980190962], ["amount", #<BigDecimal:c08ad48,'0.8E1',9(27)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+Redirected to http://test.host/adherent/members/819299061/payments
+Completed 302 Found in 17ms (ActiveRecord: 2.2ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Adhesion Load (0.0ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.2ms)[0m INSERT INTO "adherent_adhesions" ("created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Wed, 07 Aug 2013 18:13:35 UTC +00:00], ["from_date", Wed, 07 Aug 2013], ["member_id", 980190962], ["to_date", Wed, 06 Aug 2014], ["updated_at", Wed, 07 Aug 2013 18:13:35 UTC +00:00]]
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
- [1m[36m (1.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"980190962"}
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions"
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.5ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Reglement Load (3.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.4ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (1.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
- [1m[36m (49.5ms)[0m [1mALTER 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 "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (16.2ms)[0m 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-08 05:49:20', '2013-08-08 05:49:20', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-08 05:49:20', '2013-08-08 05:49:20', 298486374)[0m
+ [1m[36m (0.7ms)[0m [1mALTER 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[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (1.1ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-08 05:49:20', '2013-08-08 05:49:20', 980190962)[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-08 05:49:20', '2013-08-08 05:49:20', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
- [1m[35mFixture Insert (33.6ms)[0m INSERT INTO "adherent_payments" ("date", "amount", "mode", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'MyString', '2013-08-08 05:49:20', '2013-08-08 05:49:20', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_payments" ("date", "amount", "mode", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'MyString', '2013-08-08 05:49:20', '2013-08-08 05:49:20', 298486374)[0m
- [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_coords"
- [1m[36mFixture Insert (1.0ms)[0m [1mINSERT 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-08 05:49:20', '2013-08-08 05:49:20', 980190962, 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m 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-08 05:49:20', '2013-08-08 05:49:20', 298486374, 298486374)
- [1m[36m (11.7ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m 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 "schema_migrations" ENABLE TRIGGER ALL
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (27.0ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (7.6ms)[0m ROLLBACK
+ [1m[35m (0.3ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.9ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
- [1m[36m (4.4ms)[0m [1mROLLBACK[0m
+ [1m[35mAdherent::Member Load (0.9ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Adhesion Load (3.1ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (3.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (53.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", nil], ["created_at", Thu, 08 Aug 2013 05:49:21 UTC +00:00], ["from_date", Thu, 08 Aug 2013], ["member_id", 980190962], ["to_date", Thu, 07 Aug 2014], ["updated_at", Thu, 08 Aug 2013 05:49:21 UTC +00:00]]
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (4.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:af27ce0,'0.0',9(36)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#edit as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (1.6ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (4.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Exists (45.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.8ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.5ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+ [1m[35m (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1[0m
+ 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)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Exists (4.6ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1[0m
- [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (1.0ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Payment Load (0.6ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Coord Load (1.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.1ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:49:15.402339' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", "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"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061/adhesions/new
+Completed 302 Found in 14ms (ActiveRecord: 2.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (1.0ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+Processing by Adherent::CoordsController#destroy as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/coords
+Completed 302 Found in 7ms (ActiveRecord: 1.2ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (21.2ms)[0m [1mALTER 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 "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.5ms)[0m 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-08 05:50:46', '2013-08-08 05:50:46', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-08 05:50:46', '2013-08-08 05:50:46', 298486374)[0m
- [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-08 05:50:46', '2013-08-08 05:50:46', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-08 05:50:46', '2013-08-08 05:50:46', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
- [1m[35mFixture Insert (0.4ms)[0m INSERT INTO "adherent_payments" ("date", "amount", "mode", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'MyString', '2013-08-08 05:50:46', '2013-08-08 05:50:46', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_payments" ("date", "amount", "mode", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'MyString', '2013-08-08 05:50:46', '2013-08-08 05:50:46', 298486374)[0m
- [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "adherent_coords"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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-08 05:50:46', '2013-08-08 05:50:46', 980190962, 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m 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-08 05:50:46', '2013-08-08 05:50:46', 298486374, 298486374)
- [1m[36m (3.2ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m 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 "schema_migrations" ENABLE TRIGGER ALL
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:49:15.482627' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::CoordsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061/coord
+Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.9ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (1.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+Processing by Adherent::MembersController#create as HTML
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (1.0ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 9ms (ActiveRecord: 1.8ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (1.4ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", nil], ["created_at", Thu, 08 Aug 2013 05:50:46 UTC +00:00], ["from_date", Thu, 08 Aug 2013], ["member_id", 980190962], ["to_date", Thu, 07 Aug 2014], ["updated_at", Thu, 08 Aug 2013 05:50:46 UTC +00:00]]
+ [1m[36mSQL (0.4ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
- [1m[35m (0.3ms)[0m ROLLBACK
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+Processing by Adherent::MembersController#index as HTML
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 19ms (Views: 14.2ms | ActiveRecord: 1.9ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Exists (0.9ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#show as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#update as HTML
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (80.7ms)[0m [1mALTER 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 "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.9ms)[0m BEGIN
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (59.6ms)[0m 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-08 05:56:01', '2013-08-08 05:56:01', 980190962)
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-08 05:56:01', '2013-08-08 05:56:01', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (76.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-08 05:56:02', '2013-08-08 05:56:02', 980190962)[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-08 05:56:02', '2013-08-08 05:56:02', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
- [1m[35mFixture Insert (31.3ms)[0m INSERT INTO "adherent_payments" ("date", "amount", "mode", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'MyString', '2013-08-08 05:56:02', '2013-08-08 05:56:02', 980190962)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_payments" ("date", "amount", "mode", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'MyString', '2013-08-08 05:56:02', '2013-08-08 05:56:02', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_coords"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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-08 05:56:02', '2013-08-08 05:56:02', 980190962, 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m 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-08 05:56:02', '2013-08-08 05:56:02', 298486374, 298486374)
- [1m[36m (2.7ms)[0m [1mCOMMIT[0m
- [1m[35m (0.2ms)[0m 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 "schema_migrations" ENABLE TRIGGER ALL
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.9ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (1.9ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (1.8ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.4ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.5ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.4ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.1ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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)
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.7ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[36mAdherent::Payment Load (0.5ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (25.8ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", nil], ["created_at", Thu, 08 Aug 2013 05:56:02 UTC +00:00], ["from_date", Thu, 08 Aug 2013], ["member_id", 980190962], ["to_date", Thu, 07 Aug 2014], ["updated_at", Thu, 08 Aug 2013 05:56:02 UTC +00:00]]
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 980190962], ["amount", #<BigDecimal:b17b4ec,'0.8E1',9(27)>], ["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.8ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
- [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+Redirected to http://test.host/adherent/members/819299061/payments
+Completed 302 Found in 20ms (ActiveRecord: 2.0ms)
+ [1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (1.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Exists (24.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Payment Load (0.6ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Adhesion Load (0.1ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"980190962"}
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions"
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Reglement Load (0.7ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Payment Load (0.6ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
- [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
- [1m[36m (94.4ms)[0m [1mALTER 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 "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (5.0ms)[0m 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-08 05:58:22', '2013-08-08 05:58:22', 980190962)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-08 05:58:22', '2013-08-08 05:58:22', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-08 05:58:22', '2013-08-08 05:58:22', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-08 05:58:22', '2013-08-08 05:58:22', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
- [1m[35mFixture Insert (22.4ms)[0m INSERT INTO "adherent_payments" ("date", "amount", "mode", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'MyString', '2013-08-08 05:58:22', '2013-08-08 05:58:22', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_payments" ("date", "amount", "mode", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'MyString', '2013-08-08 05:58:22', '2013-08-08 05:58:22', 298486374)[0m
- [1m[35mFixture Delete (1.2ms)[0m DELETE FROM "adherent_coords"
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT 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-08 05:58:22', '2013-08-08 05:58:22', 980190962, 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m 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-08 05:58:22', '2013-08-08 05:58:22', 298486374, 298486374)
- [1m[36m (1.9ms)[0m [1mCOMMIT[0m
- [1m[35m (0.3ms)[0m 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 "schema_migrations" ENABLE TRIGGER ALL
+ [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (1.1ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (1.1ms)[0m 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)
+ [1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.3ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36m (83.4ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (25.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.8ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.9ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (60.9ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", nil], ["created_at", Thu, 08 Aug 2013 05:58:23 UTC +00:00], ["from_date", Thu, 08 Aug 2013], ["member_id", 980190962], ["to_date", Thu, 07 Aug 2014], ["updated_at", Thu, 08 Aug 2013 05:58:23 UTC +00:00]]
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.3ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:ba63c94,'0.0',9(36)>], ["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mAdherent::Adhesion Load (1.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.6ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
- [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.6ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Exists (35.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#edit as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.7ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1[0m
+ 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)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Payment Load (0.6ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
[1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (2.2ms)[0m [1mALTER 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 "schema_migrations" DISABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.4ms)[0m 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-08 05:59:57', '2013-08-08 05:59:57', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-08 05:59:57', '2013-08-08 05:59:57', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-08 05:59:57', '2013-08-08 05:59:57', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-08 05:59:57', '2013-08-08 05:59:57', 298486374)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_payments"[0m
- [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "adherent_payments" ("date", "amount", "mode", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', '2013-08-08 05:59:57', '2013-08-08 05:59:57', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_payments" ("date", "amount", "mode", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', '2013-08-08 05:59:57', '2013-08-08 05:59:57', 298486374)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_payments" ("date", "amount", "mode", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', '2013-08-08 05:59:57', '2013-08-08 05:59:57', 973176020)
- [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-08 05:59:57', '2013-08-08 05:59:57', 980190962, 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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-08 05:59:57', '2013-08-08 05:59:57', 298486374, 298486374)[0m
- [1m[35m (0.9ms)[0m COMMIT
- [1m[36m (0.2ms)[0m [1mALTER 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 "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.9ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.7ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
+ [1m[35mAdherent::Coord Load (0.8ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.3ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", nil], ["created_at", Thu, 08 Aug 2013 05:59:58 UTC +00:00], ["from_date", Thu, 08 Aug 2013], ["member_id", 980190962], ["to_date", Thu, 07 Aug 2014], ["updated_at", Thu, 08 Aug 2013 05:59:58 UTC +00:00]]
+ [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:50:15.680250' WHERE "adherent_coords"."id" = 980190962
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.8ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
- [1m[36m (0.8ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", "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"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061/adhesions/new
+Completed 302 Found in 13ms (ActiveRecord: 1.8ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+Processing by Adherent::CoordsController#destroy as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/coords
+Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_coords"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.1ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m 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)
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (19.1ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Payment Load (0.5ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:50:15.766510' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ 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)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::CoordsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.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)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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"}
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061/coord
+Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Payment Load (1.1ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
[1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (11.6ms)[0m [1mALTER 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 "schema_migrations" DISABLE TRIGGER ALL[0m
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+Processing by Adherent::MembersController#create as HTML
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 8ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
- [1m[35mFixture Insert (0.5ms)[0m 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-08 06:00:56', '2013-08-08 06:00:56', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-08 06:00:56', '2013-08-08 06:00:56', 298486374)[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_members"
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-08 06:00:56', '2013-08-08 06:00:56', 980190962)[0m
- [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-08 06:00:56', '2013-08-08 06:00:56', 298486374)
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
- [1m[35mFixture Insert (0.4ms)[0m INSERT INTO "adherent_payments" ("date", "amount", "mode", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', '2013-08-08 06:00:56', '2013-08-08 06:00:56', 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "adherent_payments" ("date", "amount", "mode", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', '2013-08-08 06:00:56', '2013-08-08 06:00:56', 298486374)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "adherent_payments" ("date", "amount", "mode", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', '2013-08-08 06:00:56', '2013-08-08 06:00:56', 973176020)
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_coords"[0m
- [1m[35mFixture Insert (0.3ms)[0m 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-08 06:00:56', '2013-08-08 06:00:56', 980190962, 980190962)
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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-08 06:00:56', '2013-08-08 06:00:56', 298486374, 298486374)[0m
- [1m[35m (1.6ms)[0m COMMIT
- [1m[36m (0.3ms)[0m [1mALTER 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 "schema_migrations" ENABLE TRIGGER ALL[0m
- [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.1ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 7ms (ActiveRecord: 1.7ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+Processing by Adherent::MembersController#index as HTML
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.9ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 19ms (Views: 14.0ms | ActiveRecord: 2.6ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (1.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (1.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1[0m
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 980190962]]
- [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.5ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", nil], ["created_at", Thu, 08 Aug 2013 06:00:56 UTC +00:00], ["from_date", Thu, 08 Aug 2013], ["member_id", 980190962], ["to_date", Thu, 07 Aug 2014], ["updated_at", Thu, 08 Aug 2013 06:00:56 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962
- [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962[0m
- [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 980190962 ORDER BY to_date DESC LIMIT 1
- [1m[36m (0.7ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#show as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (1.8ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '0011' LIMIT 1
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#update as HTML
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 8ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 980190962]]
- [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE "adherent_members"."number" = '001' LIMIT 1
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36mAdherent::Payment Load (0.5ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 973176020]]
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.1ms)[0m [1m[0m
- [1m[35m (0.5ms)[0m 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
-
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
- [1m[35m (3.1ms)[0m 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
-
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m
- [1m[36m (0.0ms)[0m [1m[0m
- [1m[35m (0.3ms)[0m 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
-
+ [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.6ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.0ms)[0m [1m[0m
- [1m[35m (0.6ms)[0m 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
-
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m
- [1m[36m (0.0ms)[0m [1m[0m
[1m[35m (0.1ms)[0m 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
-
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
- [1m[35m (0.1ms)[0m 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
-
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m
- [1m[36m (0.0ms)[0m [1m[0m
- [1m[35m (0.1ms)[0m 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
-
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.1ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
- [1m[35m (0.2ms)[0m 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
-
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.0ms)[0m [1m[0m
[1m[35m (0.1ms)[0m 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
-
+ [1m[36mAdherent::Payment Load (0.1ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Adhesion Load (0.1ms)[0m 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"}
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.7ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 980190962], ["amount", #<BigDecimal:bcb72e8,'0.8E1',9(27)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+Redirected to http://test.host/adherent/members/819299061/payments
+Completed 302 Found in 28ms (ActiveRecord: 3.0ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"980190962"}
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions"
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Reglement Load (1.0ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35m (0.6ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.4ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.0ms)[0m [1m[0m
[1m[35m (0.1ms)[0m 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
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
[1m[35m (0.3ms)[0m 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
-
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_adhesions"[0m
+ [1m[35mFixture Insert (0.4ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "adherent_members"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "adherent_payments"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "adherent_coords"[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "adherent_reglements"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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)
+ [1m[36m (31.0ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (1.9ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.0ms)[0m [1m[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 743257894]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.8ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:9f67c88,'0.0',9(36)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#edit as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.6ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+ [1m[35m (0.3ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m 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
-
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1[0m
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+Processing by Adherent::AdhesionsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (1.5ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.5ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:50:38.750544' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", "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"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/819299061/adhesions/new
+Completed 302 Found in 13ms (ActiveRecord: 2.5ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+Processing by Adherent::CoordsController#destroy as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (2.5ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/coords
+Completed 302 Found in 7ms (ActiveRecord: 3.3ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_coords"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.0ms)[0m [1m[0m
- [1m[35m (0.1ms)[0m 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
-
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m
- [1m[36m (0.0ms)[0m [1m[0m
- [1m[35m (0.1ms)[0m 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
-
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.0ms)[0m [1m[0m
- [1m[35m (0.1ms)[0m 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
-
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.1ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m
- [1m[36m (0.0ms)[0m [1m[0m
- [1m[35m (0.1ms)[0m 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
-
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.1ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
- [1m[35m (0.1ms)[0m 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
-
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Member Load (0.1ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:50:38.836146' WHERE "adherent_coords"."id" = 980190962
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::CoordsController#show as HTML
+ Parameters: {"member_id"=>"819299061", "id"=>"980190962"}
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 12ms (Views: 9.2ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Coord Load (0.0ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061/coord
+Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36mAdherent::Member Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+Processing by Adherent::MembersController#create as HTML
+ Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", 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]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299062/coord/new
+Completed 302 Found in 10ms (ActiveRecord: 1.2ms)
+ [1m[35m (0.8ms)[0m SELECT COUNT(*) FROM "adherent_members"
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m
- [1m[36m (0.2ms)[0m [1m[0m
[1m[35m (0.0ms)[0m 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
-
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_members"
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 819299061]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["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)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]
+Processing by Adherent::MembersController#index as HTML
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL[0m
+ [1m[35mAdherent::Adhesion Load (1.1ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.2ms)
+Completed 200 OK in 24ms (Views: 19.0ms | ActiveRecord: 3.0ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.0ms)[0m [1m[0m
[1m[35m (0.1ms)[0m 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
-
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#show as HTML
+ Parameters: {"id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m 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)
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m 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
-
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+Processing by Adherent::MembersController#update as HTML
+ Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"}
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.5ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/819299061
+Completed 302 Found in 9ms (ActiveRecord: 1.2ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.6ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
- [1m[35m (0.2ms)[0m 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
-
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 298486374]]
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Payment Load (0.8ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
[1m[35m (0.1ms)[0m 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
-
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.5ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.0ms)[0m [1m[0m
- [1m[35m (0.1ms)[0m 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
-
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020[0m
+ [1m[35m (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.0ms)[0m [1m[0m
- [1m[35m (0.9ms)[0m 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
-
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374
+ [1m[36m (0.8ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
- [1m[35m (0.2ms)[0m 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
-
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
[1m[35m (0.1ms)[0m 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
-
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.0ms)[0m [1m[0m
- [1m[35m (0.2ms)[0m 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
-
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
- [1m[35m (0.1ms)[0m 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
-
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", 819299061]]
+ [1m[35mAdherent::Payment Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "819299061"]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
[1m[35m (0.1ms)[0m 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
-
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m 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"}
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]]
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 980190962], ["amount", #<BigDecimal:a1bacd8,'0.8E1',9(27)>], ["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]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1[0m
+Redirected to http://test.host/adherent/members/819299061/payments
+Completed 302 Found in 21ms (ActiveRecord: 2.0ms)
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
- [1m[35m (0.1ms)[0m 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
-
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m
- [1m[36m (0.0ms)[0m [1m[0m
- [1m[35m (0.1ms)[0m 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
-
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
- [1m[35m (0.1ms)[0m 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
-
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
- [1m[35m (0.1ms)[0m 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
-
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
- [1m[35m (0.1ms)[0m 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
-
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
- [1m[35m (0.3ms)[0m 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
-
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
- [1m[35m (0.1ms)[0m 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
-
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
- [1m[35m (0.1ms)[0m 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
-
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.0ms)[0m [1m[0m
- [1m[35m (0.2ms)[0m 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
-
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
- [1m[35m (0.2ms)[0m 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
-
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.5ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
[1m[35m (0.0ms)[0m 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
-
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m
- [1m[36m (0.0ms)[0m [1m[0m
- [1m[35m (1.0ms)[0m 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
-
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m
- [1m[36m (0.1ms)[0m [1m[0m
- [1m[35m (0.0ms)[0m 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
-
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.4ms)[0m
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", 980190962]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m 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"}
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", "980190962"]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36mAdherent::Adhesion Load (6.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" [0m
+ [1m[35m (4.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962
+ [1m[36m (0.9ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962[0m
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374[0m
+ 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)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK