{"issue":{"created_at":"2011-12-02T13:48:47Z","state":"closed","updated_at":"2011-12-12T16:58:32Z","comments":1,"user":{"gravatar_id":"056c32203f8017f075ac060069823b66","id":48745,"url":"https://api.github.com/users/phoet","avatar_url":"https://secure.gravatar.com/avatar/056c32203f8017f075ac060069823b66?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"phoet"},"body":"exception_notification raises an error when it tries to cope with exceptions thrown by couchrest_model:\r\n\r\n```\r\n.../exception_notification-2.5.2/lib/exception_notifier/views/exception_notifier/_request.text.erb (0.1ms)\r\n.../exception_notification-2.5.2/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.0ms)\r\n.../exception_notification-2.5.2/lib/exception_notifier/views/exception_notifier/_session.text.erb (0.5ms)\r\n.../exception_notification-2.5.2/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.0ms)\r\n.../exception_notification-2.5.2/lib/exception_notifier/views/exception_notifier/_environment.text.erb (4.5ms)\r\n.../exception_notification-2.5.2/lib/exception_notifier/views/exception_notifier/exception_notification.text.erb (6.0ms)\r\nActionView::Template::Error (comparison of Symbol with String failed):\r\n    1: <% filtered_env = @request.filtered_env -%>\r\n    2: <% max = filtered_env.keys.max { |a, b| a.length <=> b.length } -%>\r\n    3: <% filtered_env.keys.sort.each do |key| -%>\r\n    4: * <%= raw(\"%-*s: %s\" % [max.length, key, inspect_object(filtered_env[key])]) %>\r\n    5: <% end -%>\r\n    6: \r\n  lib/mobile/detection.rb:8:in `call'\r\n  lib/protocol/writer.rb:17:in `call'\r\n  lib/support/char_converter.rb:15:in `call'\r\nCompleted 500 Internal Server Error in 248.5ms (Views: 210.179ms | CouchDB: 16.243ms(3q))\r\n```\r\n\r\nthis is due to the fact that the filtered_env is supposed to return only one type (String/Symbol) but returns a mix.\r\n","assignee":null,"number":42,"id":2427311,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"exception when trying to print env","html_url":"https://github.com/smartinez87/exception_notification/issues/42","closed_at":"2011-12-12T16:58:32Z","url":"https://api.github.com/repos/smartinez87/exception_notification/issues/42","milestone":null},"action":"created","comment":{"created_at":"2011-12-12T16:58:32Z","updated_at":"2011-12-12T16:58:32Z","user":{"gravatar_id":"47e6725dce64c265920bb1fc8fa3f74c","id":83449,"url":"https://api.github.com/users/smartinez87","avatar_url":"https://secure.gravatar.com/avatar/47e6725dce64c265920bb1fc8fa3f74c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"smartinez87"},"body":"closing this due to #43 merge","id":3108808,"url":"https://api.github.com/repos/smartinez87/exception_notification/issues/comments/3108808"}}