Displaying 4 results from an estimated 4 matches for "uploadedstringio".
2008 Oct 10
17
authenticity_token sent, still InvalidAuthenticityToken
Hi!
To send the authenticity token from flex back to the server, I followed
this:
http://blog.dt.org/index.php/2008/06/rails-2-flex-3-and-form-authenticity-tokens/
I have two controllers in my rails app. The method described in the link
above works with the actions in one controller, but does not work with
the other.
The controller which does not work has just one action which performs a
file
2012 Mar 30
0
Facing probme with image upload rails 2.3.4, ruby 1.9.2 with papaerclip
I been working on image upload since long and every time working fine,
Now since i deployed application on server,i am facing strange problem
while image upload.
When i am trying upload image it''s gives error like,
NameError (undefined method path'' for
classActionController::UploadedStringIO''): :10:in synchronize'' passenger
(3.0.9)
lib/phusion_passenger/rack/request_handler.rb:96:inprocess_request''
passenger (3.0.9)
lib/phusion_passenger/abstract_request_handler.rb:513:in
accept_and_process_next_request'' passenger (3.0.9)
lib/phusion_passenger/abstra...
2008 Jan 24
1
Uploading files: wrong number of arguments (1 for 0)
...:Base
has_many :agents
has_many :users
has_one :photo, :as => :photo_for
validates_associated :photo, :if => :has_photo?
end
If I include puts params[:photo].inspect in the controller it does show
me there is a datastream there
-----
{"filename"=>#<ActionController::UploadedStringIO:0x2519cc4>}
Thanks for the help.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-ta...
2009 Apr 02
4
Uploads with FCKEditor
Hello everyone.
Since I''ve found very poor documentation about the rails FCKEditor
plug-in and Easy-FCKEditor (which is a fork of the very same plug-in),
I decided to bother you with my noobish questions.
I have this weird sensation that the image-uploading feature of
FCKEditor isn''t supposed to work magically, without some sort of
server side preparation, but I have no idea