{"action":"created","issue":{"url":"https://api.github.com/repos/agilidee/backbone/issues/259","labels_url":"https://api.github.com/repos/agilidee/backbone/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/agilidee/backbone/issues/259/comments","events_url":"https://api.github.com/repos/agilidee/backbone/issues/259/events","html_url":"https://github.com/agilidee/backbone/issues/259","id":64773903,"number":259,"title":"cv : crash au filtre par zip code","user":{"login":"bgantaume","id":1662023,"avatar_url":"https://avatars.githubusercontent.com/u/1662023?v=3","gravatar_id":"","url":"https://api.github.com/users/bgantaume","html_url":"https://github.com/bgantaume","followers_url":"https://api.github.com/users/bgantaume/followers","following_url":"https://api.github.com/users/bgantaume/following{/other_user}","gists_url":"https://api.github.com/users/bgantaume/gists{/gist_id}","starred_url":"https://api.github.com/users/bgantaume/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgantaume/subscriptions","organizations_url":"https://api.github.com/users/bgantaume/orgs","repos_url":"https://api.github.com/users/bgantaume/repos","events_url":"https://api.github.com/users/bgantaume/events{/privacy}","received_events_url":"https://api.github.com/users/bgantaume/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"BenoitMC","id":445785,"avatar_url":"https://avatars.githubusercontent.com/u/445785?v=3","gravatar_id":"","url":"https://api.github.com/users/BenoitMC","html_url":"https://github.com/BenoitMC","followers_url":"https://api.github.com/users/BenoitMC/followers","following_url":"https://api.github.com/users/BenoitMC/following{/other_user}","gists_url":"https://api.github.com/users/BenoitMC/gists{/gist_id}","starred_url":"https://api.github.com/users/BenoitMC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenoitMC/subscriptions","organizations_url":"https://api.github.com/users/BenoitMC/orgs","repos_url":"https://api.github.com/users/BenoitMC/repos","events_url":"https://api.github.com/users/BenoitMC/events{/privacy}","received_events_url":"https://api.github.com/users/BenoitMC/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-03-27T14:31:17Z","updated_at":"2015-03-27T14:52:50Z","closed_at":null,"body":"An ArgumentError occurred in people#index:\r\n\r\n  comparison of CustomerVault::Corporation with CustomerVault::Corporation failed\r\n  app/controllers/customer_vault/people_controller.rb:23:in `sort'\r\n\r\n\r\n-------------------------------\r\nRequest:\r\n-------------------------------\r\n\r\n  * URL        : https://dorsale.cc/customer_vault/people?page=1&sort=zip\r\n  * HTTP Method: GET\r\n  * IP address : 80.215.228.68\r\n  * Parameters : {\"page\"=>\"1\", \"sort\"=>\"zip\", \"action\"=>\"index\", \"controller\"=>\"customer_vault/people\"}\r\n  * Timestamp  : 2015-03-27 14:30:11 UTC\r\n  * Server : kaukura19.ouvrages\r\n  * Rails root : /home/backbone-production/backbone\r\n  * Process: 6039\r\n\r\n-------------------------------\r\nSession:\r\n-------------------------------\r\n\r\n  * session id: [FILTERED]\r\n  * data: #<ActionDispatch::Request::Session:0x957bc24 ...>\r\n\r\n-------------------------------\r\nEnvironment:\r\n-------------------------------\r\n\r\n  * DOCUMENT_ROOT                                  : /home/backbone-production/backbone/public\r\n  * HTTPS                                          : on\r\n  * HTTP_ACCEPT                                    : text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\r\n  * HTTP_ACCEPT_ENCODING                           : gzip, deflate, sdch\r\n  * HTTP_ACCEPT_LANGUAGE                           : en-US,en;q=0.8,fr;q=0.6\r\n  * HTTP_CONNECTION                                : keep-alive\r\n  * HTTP_COOKIE                                    : _backbone_session=VmwvZ0J5NGhEbUFzVlZNV2NEMFpCTm5VSitTYzl1WDlwM0JwYytDZkN6R1N0NE4wbEFkd3MrOHg0YTZaYW1JUUhHalZtaE80V21RQ202T0YrQzZxaUlNRWhCbTd4L3FFSGtEeG5DMzByc1U4bjY3MnpDU21QdDlzOFdkSzJoNjc0bVNXWUQzdklSdU5qcEVwS0QvTmVDUEtyRHZwc2kwb2xLaHRGRkdHRU92VzhCMGRQUjlZNHRxdUhlemlGMU1jRkd2WEVFaE9IQUlVSzlOdWpCcGV3aEtIQlNNeG1jeXd0Rnhxdmt6a0Z1Q0pNL21RbGM2U0NJRFYyQ2JoTGJPQ2RpSDBwTWZDQmpwZ3htM0dHTjlhenc9PS0tN010OGN1TGlibHNrOXllSnkybWpJZz09--6b5476a0f9cbe176fd1478990e995b67f32660cc\r\n  * HTTP_HOST                                      : dorsale.cc\r\n  * HTTP_REFERER                                   : https://dorsale.cc/customer_vault/people\r\n  * HTTP_USER_AGENT                                : Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.104 Safari/537.36\r\n  * ORIGINAL_FULLPATH                              : /customer_vault/people?page=1&sort=zip\r\n  * ORIGINAL_SCRIPT_NAME                           :\r\n  * PASSENGER_APP_ENV                              : production\r\n  * PASSENGER_APP_TYPE                             : rack\r\n  * PASSENGER_CONNECT_PASSWORD                     : [FILTERED]\r\n  * PASSENGER_FRIENDLY_ERROR_PAGES                 : false\r\n  * PASSENGER_MIN_PROCESSES                        : 1\r\n  * PATH_INFO                                      : /people\r\n  * QUERY_STRING                                   : page=1&sort=zip\r\n  * REMOTE_ADDR                                    : 80.215.228.68\r\n  * REMOTE_PORT                                    : 12537\r\n  * REQUEST_METHOD                                 : GET\r\n  * REQUEST_URI                                    : /customer_vault/people?page=1&sort=zip\r\n  * ROUTES_73674100_SCRIPT_NAME                    : /customer_vault\r\n  * ROUTES_87058440_SCRIPT_NAME                    :\r\n  * SCGI                                           : 1\r\n  * SCRIPT_NAME                                    : /customer_vault\r\n  * SERVER_ADDR                                    : 212.129.26.248\r\n  * SERVER_NAME                                    : dorsale.cc\r\n  * SERVER_PORT                                    : 443\r\n  * SERVER_PROTOCOL                                : HTTP/1.1\r\n  * SERVER_SOFTWARE                                : nginx/1.6.1\r\n  * action_controller.instance                     : #<CustomerVault::PeopleController:0x8a4c1a0>\r\n  * action_dispatch.backtrace_cleaner              : #<Rails::BacktraceCleaner:0xa7cc658>\r\n  * action_dispatch.cookies                        : #<ActionDispatch::Cookies::CookieJar:0xa675ebc>\r\n  * action_dispatch.encrypted_cookie_salt          : encrypted cookie\r\n  * action_dispatch.encrypted_signed_cookie_salt   : signed encrypted cookie\r\n  * action_dispatch.http_auth_salt                 : http authentication\r\n  * action_dispatch.key_generator                  : #<ActiveSupport::CachingKeyGenerator:0xa7ca484>\r\n  * action_dispatch.logger                         : #<ActiveSupport::Logger:0xa33fb44>\r\n  * action_dispatch.parameter_filter               : [:password]\r\n  * action_dispatch.redirect_filter                : []\r\n  * action_dispatch.remote_ip                      : 80.215.228.68\r\n  * action_dispatch.request.content_type           :\r\n  * action_dispatch.request.formats                : [text/html]\r\n  * action_dispatch.request.parameters             : {\"page\"=>\"1\", \"sort\"=>\"zip\", \"action\"=>\"index\", \"controller\"=>\"customer_vault/people\"}\r\n  * action_dispatch.request.path_parameters        : {:action=>\"index\", :controller=>\"customer_vault/people\"}\r\n  * action_dispatch.request.query_parameters       : {\"page\"=>\"1\", \"sort\"=>\"zip\"}\r\n  * action_dispatch.request.request_parameters     : {}\r\n  * action_dispatch.request.unsigned_session_cookie: {\"session_id\"=>\"a0c0a9ef25c4334a198e9db4c55c44a3\", \"warden.user.user.key\"=>[[1], \"$2a$10$ERJO9k9k7eStejQ1svWE4e\"], \"_csrf_token\"=>\"6h/1I8dYZJGOnEQwZRrJiM/lIZQpJMoYDLv2S7hweRE=\"}\r\n  * action_dispatch.request_id                     : abfd8d9e-1fb6-40b4-b130-97b9bb515bf3\r\n  * action_dispatch.routes                         : #<ActionDispatch::Routing::RouteSet:0x8c85ae8>\r\n  * action_dispatch.secret_key_base                : 20e159ba72e42c6342aa68fe331be8c94fbd5ff9d5f0c95df03aae862b610b3dfbbe0b2f90519b47331599e576982609cd96ca9f3916eed89e93ae781f46f0ae\r\n  * action_dispatch.secret_token                   :\r\n  * action_dispatch.show_detailed_exceptions       : false\r\n  * action_dispatch.show_exceptions                : true\r\n  * action_dispatch.signed_cookie_salt             : signed cookie\r\n  * rack.errors                                    : #<IO:0x84c28d8>\r\n  * rack.hijack                                    : #<Proc:0x9151874@/var/lib/gems/1.9.1/gems/passenger-4.0.50/lib/phusion_passenger/rack/thread_handler_extension.rb:69 (lambda)>\r\n  * rack.hijack?                                   : true\r\n  * rack.input                                     : #<PhusionPassenger::Utils::TeeInput:0xaaaa744>\r\n  * rack.multiprocess                              : true\r\n  * rack.multithread                               : false\r\n  * rack.request.cookie_hash                       : {\"_backbone_session\"=>\"VmwvZ0J5NGhEbUFzVlZNV2NEMFpCTm5VSitTYzl1WDlwM0JwYytDZkN6R1N0NE4wbEFkd3MrOHg0YTZaYW1JUUhHalZtaE80V21RQ202T0YrQzZxaUlNRWhCbTd4L3FFSGtEeG5DMzByc1U4bjY3MnpDU21QdDlzOFdkSzJoNjc0bVNXWUQzdklSdU5qcEVwS0QvTmVDUEtyRHZwc2kwb2xLaHRGRkdHRU92VzhCMGRQUjlZNHRxdUhlemlGMU1jRkd2WEVFaE9IQUlVSzlOdWpCcGV3aEtIQlNNeG1jeXd0Rnhxdmt6a0Z1Q0pNL21RbGM2U0NJRFYyQ2JoTGJPQ2RpSDBwTWZDQmpwZ3htM0dHTjlhenc9PS0tN010OGN1TGlibHNrOXllSnkybWpJZz09--6b5476a0f9cbe176fd1478990e995b67f32660cc\"}\r\n  * rack.request.cookie_string                     : _backbone_session=VmwvZ0J5NGhEbUFzVlZNV2NEMFpCTm5VSitTYzl1WDlwM0JwYytDZkN6R1N0NE4wbEFkd3MrOHg0YTZaYW1JUUhHalZtaE80V21RQ202T0YrQzZxaUlNRWhCbTd4L3FFSGtEeG5DMzByc1U4bjY3MnpDU21QdDlzOFdkSzJoNjc0bVNXWUQzdklSdU5qcEVwS0QvTmVDUEtyRHZwc2kwb2xLaHRGRkdHRU92VzhCMGRQUjlZNHRxdUhlemlGMU1jRkd2WEVFaE9IQUlVSzlOdWpCcGV3aEtIQlNNeG1jeXd0Rnhxdmt6a0Z1Q0pNL21RbGM2U0NJRFYyQ2JoTGJPQ2RpSDBwTWZDQmpwZ3htM0dHTjlhenc9PS0tN010OGN1TGlibHNrOXllSnkybWpJZz09--6b5476a0f9cbe176fd1478990e995b67f32660cc\r\n  * rack.request.query_hash                        : {\"page\"=>\"1\", \"sort\"=>\"zip\"}\r\n  * rack.request.query_string                      : page=1&sort=zip\r\n  * rack.run_once                                  : false\r\n  * rack.session                                   : #<ActionDispatch::Request::Session:0x957bc24>\r\n  * rack.session.options                           : #<ActionDispatch::Request::Session::Options:0x8e30fc8>\r\n  * rack.url_scheme                                : https\r\n  * rack.version                                   : [1, 2]\r\n  * warden                                         : Warden::Proxy:72670650 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :token_authenticatable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#<Devise::Delegator:0xa4c31f0>}\r\n\r\n-------------------------------\r\nBacktrace:\r\n-------------------------------\r\n\r\n  app/controllers/customer_vault/people_controller.rb:23:in `sort'\r\n  app/controllers/customer_vault/people_controller.rb:23:in `block in index'\r\n  app/controllers/customer_vault/people_controller.rb:17:in `index'"},"comment":{"url":"https://api.github.com/repos/agilidee/backbone/issues/comments/86963076","html_url":"https://github.com/agilidee/backbone/issues/259#issuecomment-86963076","issue_url":"https://api.github.com/repos/agilidee/backbone/issues/259","id":86963076,"user":{"login":"BenoitMC","id":445785,"avatar_url":"https://avatars.githubusercontent.com/u/445785?v=3","gravatar_id":"","url":"https://api.github.com/users/BenoitMC","html_url":"https://github.com/BenoitMC","followers_url":"https://api.github.com/users/BenoitMC/followers","following_url":"https://api.github.com/users/BenoitMC/following{/other_user}","gists_url":"https://api.github.com/users/BenoitMC/gists{/gist_id}","starred_url":"https://api.github.com/users/BenoitMC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenoitMC/subscriptions","organizations_url":"https://api.github.com/users/BenoitMC/orgs","repos_url":"https://api.github.com/users/BenoitMC/repos","events_url":"https://api.github.com/users/BenoitMC/events{/privacy}","received_events_url":"https://api.github.com/users/BenoitMC/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T14:52:50Z","updated_at":"2015-03-27T14:52:50Z","body":"J'arrive pas à reproduire en local. Je ferai un import de la base de prod debut de semaine prochaine pour essayer de trouver d'où ça vient.\r\n"}}