Displaying 2 results from an estimated 2 matches for "index_control".
2006 Jun 08
5
Suggestions wanted for non-logged-in user in closed beta phase
Will shortly be deploying first iteration of app to some beta testers
(i.e. friends), and want them to be able see it both from logged-in view
and guest (i.e. not logged-in) view. The two are a fair bit different.
It''s a closed beta, so (hopefully) no pages (other than a blank login
page) will be visible.
The question is, what''s the best way for them to be able to see (and
2010 Dec 10
0
Encoding issues when uploading files
...xt => params[:desc] + params[:file].original_filename
end
end
The problem occurs, when I use national-specific characters in both
"desc" field and the name of the file I''m uploading
Error:
incompatible character encodings: UTF-8 and ASCII-8BIT
Full trace:
app/controllers/index_controller.rb:6:in `upload''
actionpack (3.0.0) lib/action_controller/metal/implicit_render.rb:4:in
`send_action''
actionpack (3.0.0) lib/abstract_controller/base.rb:150:in
`process_action''
actionpack (3.0.0) lib/action_controller/metal/rendering.rb:11:in
`process_action''...