Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Incompatible encoding: ASCII-8BIT and UTF-8 #52

Closed
glebm opened this Issue · 0 comments

2 participants

Gleb Mazovetskiy Sebastian Martinez
Gleb Mazovetskiy

Got an issue with exceptions:

Started POST "/%e7%ae%a1%e7%90%86/products" for 80.36.33.189 at 2012-01-09 14:38:08 +0000
  Processing by Admin::ProductsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"TWKOXRhq3qBmFBoTNHAOm22M/WCNU9lQrnymkAeEczk=", "product"=>{"type"=>"Product::CreditsBundle", "name"=>"200 credits", "amount"=>"120", "data_as_json"=>"{\"amount\":200}", "active"=>"1"}, "commit"=>"Create Product"}
Completed 500 Internal Server Error in 1002ms
Rendered /var/www/mr/shared/bundle/ruby/1.9.1/bundler/gems/exception_notification-192a49a02d63/lib/exception_notifier/views/exception_notifier/_request.text.erb (0.6ms)
Rendered /var/www/mr/shared/bundle/ruby/1.9.1/bundler/gems/exception_notification-192a49a02d63/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.3ms)
Rendered /var/www/mr/shared/bundle/ruby/1.9.1/bundler/gems/exception_notification-192a49a02d63/lib/exception_notifier/views/exception_notifier/_session.text.erb (0.8ms)
Rendered /var/www/mr/shared/bundle/ruby/1.9.1/bundler/gems/exception_notification-192a49a02d63/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.0ms)
Rendered /var/www/mr/shared/bundle/ruby/1.9.1/bundler/gems/exception_notification-192a49a02d63/lib/exception_notifier/views/exception_notifier/_environment.text.erb (2.1ms)
Rendered /var/www/mr/shared/bundle/ruby/1.9.1/bundler/gems/exception_notification-192a49a02d63/lib/exception_notifier/views/exception_notifier/exception_notification.text.erb (29.5ms)

ActionView::Template::Error (incompatible character encodings: ASCII-8BIT and UTF-8):
    1: <% filtered_env = @request.filtered_env -%>
    2: <% max = filtered_env.keys.max { |a, b| a.length <=> b.length } -%>
    3: <% filtered_env.keys.sort.each do |key| -%>
    4: * <%= raw("%-*s: %s" % [max.length, key, inspect_object(filtered_env[key])]) %>
    5: <% end -%>
    6: 
    7: * Process: <%= raw $$ %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.