I feel kind of stupid

ActionDispatch::Http::UploadedFile is basically a wrapper class for with 
a @tmp_file member and one of its wrapper functions is

  def path
    @tmp_file.path
  end

So for my problem

  gs = GStor.new( #login_data )
  gs.add_file_to_bucket( 'bucket', 'name', @uploaded_file.path )

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to