Hello,

While doing a file upload with a file containing non ASCII Characters, the 
upload is going fine, but AS fail on loading the final partial.
After that if i reload the page everything works fine.

Here is the error message :

Completed 500 Internal Server Error in 1146ms

ActionView::Template::Error (incompatible character encodings: ASCII-8BIT 
and UTF-8):
    9: 
    10: <tr class="record <%= tr_class %>" id="<%= element_row_id(:action => 
:list, :id => record.id) %>" data-refresh="<%= url_for(params_for(:action => 
:row, :id => record.id, :_method => :get, :escape => false)).html_safe %>" 
data-as_load="tr">
    11:   <%= render :partial => 'list_record_columns', :locals => {:record 
=> record, :columns => columns} %>
    12:   <%= render :partial => 'list_actions', :locals => {:record => 
record, :url_options => url_options, :action_links => action_links} unless 
action_links.empty? %>
    13:   <%= render_nested_view(action_links, url_options, record) unless 
@nested_auto_open.nil? %>
    14: </tr>
  activesupport (3.0.9) 
lib/active_support/core_ext/string/output_safety.rb:82:in `concat'
  activesupport (3.0.9) 
lib/active_support/core_ext/string/output_safety.rb:82:in `concat'
  actionpack (3.0.9) lib/action_view/template/handlers/erb.rb:14:in `<<'
  /Users/guillaume/.rvm/gems/ruby-1.9.2-p290/bundler/g

BTW i did put every UTF8 stuff in my app (default_encoding, external, 
internal etc..), seems to really be just an AS bug in that case.

Thanks for helping.

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/activescaffold/-/HY0zeLCX604J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to