Displaying 20 results from an estimated 100 matches similar to: "Upload Progress Bar not showing"
2006 Jan 06
4
Upload Progress Bar Problems
I''m writing an application where the user will be uploading many images
and user feedback is essential.
I''ve been trying to get the upload progress bar plug-in to work, but
thus far have not had any success.
I''ve downloaded Sean Treadway''s application code from his site
http://sean.treadway.info/demo/upload/ and I followed the steps in his
Upload
2006 Mar 25
1
Controller/View Problem
Hi,
I have several controllers for my webapp. I''d like to make a view that
could take processed data through several controllers. Is this possible?
For example, I have two controllers named ''upload'' with an action
list_uploads and a controller named notes with list_notes action.
I want to bring both of these action under a single view which could
mean a table with
2011 May 06
3
Rails 3 Routing problems
I have an UploadsController and UsersController where Users''
has_many :uploads'' via polymorphic attachment in uploads.rb.
Now we i navigate to http://localhost:3000/users/1/uploads
I get re-routed to Uploads#index and rendered is called multiple times
as shown below:
Started GET "/users/1/uploads" for 127.0.0.1 at 2011-05-06 22:00:38
+0100
Processing by
2010 Apr 24
2
problem using attachment_fu with S3
Hi,
My S3 bucket is located in the US
I have attachment_fu working when using file system storage
I have sw-swf upload plugin working with my S3 account
but I can not get attachment_fu to work with S3 storage.
the error I get is :
AWS::S3::RequestTimeout in Upload filesController#create
Your socket connection to the server was not read from or written to
within the timeout period. Idle
2010 Oct 25
0
Rails 3 -NoMethodError (undefined method `original_filename
Hello! I''m using Rails 3, Uploadify, to send images to S3.
Right now all the images being uploaded to S3 have the MIME:
application/octet-stream
I''d like to fix that but I''m getting the following error:
NoMethodError (undefined method `original_filename'' for
#<ActiveSupport::HashWithIndifferentAccess:0x107c81998>):
app/models/photo.rb:29:in
2007 May 18
4
No return status from mongrel upload progress (and thus no updates on the bar)
Hi all,
I''m using Boxroom (http://boxroom.rubyforge.org/) and trying to get
upload progress working. I''ve also been testing the sample code at
http://itblog.mcgeecorp.com/2007/5/15/mongrel-upload-progress-demo/.
I run a Mongrel cluster, and so am using drb (as per
http://mongrel.rubyforge.org/docs/upload_progress.html). Starting up
rails, I get lots of useful-sounding output:
2013 Sep 30
0
TypeError: no implicit conversion of Symbol into Hash when submitting form to upload files
I''m currently new to Rails and Ruby and I''m trying to learn from my
mistakes, this time I''m trying to upload 2 files from a form for later
processing, however, after I hit the "Submit" button. I keep getting this
error:
TypeError in UploadFilesController#create
app/controllers/upload_files_controller.rb:28:in `new''
2006 Jul 06
0
big size file uploading problem w/IE
Hi,
I''m now trying to develop application for big files exchanges by
Webserver and Browser with rails.
There is a browser dependent file uploading problem with Rails.
Uploading file is issued from .rhtml like this.
<%= form_tag({:action => "upload_file"}, {:multipart => "true"}) %>
With IE ( 6.02900 ) a 5 meg file was sent but slowly and it took more
2005 Jul 17
0
issues/workarounds to build dovecot on OSX
hi all,
a few notes/issues re: building dovecot on OSX.
first, after DL of cvs-head,
% autogen.sh
reports:
autogen.sh: line 2: libtoolize: command not found
o OSX, 'libtoolize' has been sed'd to glibtoolize.
couple of ways to deal with this:
(a) edit in autogen.sh
aclocal
--- libtoolize --force
+++ glibtoolize --force
automake --add-missing
autoheader
autoconf
(b)
2008 Dec 08
1
How to upload file by ajax
Hey''
How to upload file with ajax in ROR?
My code not working :(
View file :
<% form_remote_tag(:url => { :controller => ''Upload'', :action =>
''uploadFile''},
:update => "result",
:position => :bottom
:html => {:multipart => true} ) do %>
<p><label
2006 Jun 01
3
Image corrupted on upload
Hi, I''m using the below method to copy/upload a file. The outcome is an
image with the proper dimensions but looks garbled and pixelated. I''m
baffled as to what''s going on.
What''s even weirder is this same function with the same image works for
my colleague. He is using OS/10 and I am using Windows Media Center.
Any ideas?
#
# destination is the
2010 Oct 20
2
How do i use button_to_function
Hii all ,
I am trying to create a button that, when clicked on, calls a
method in a controller . I am thinking that button_to_function is good
to use for that i made htnl viwe like
<h1>File Upload</h1>
<p><label for="upload_file">Select File</label> :
<%= file_field ''upload'', ''datafile'' %></p>
2008 Aug 28
0
How to handle nested and not nested resource in an action's controller?
Hi list,
I don''t know whether the subject is understandable / what i really mean. I
have a model which resources are nested and non-nested (CMIIW). Anyway, my
routes.rb should explain:
map.resources :speeches, :collection => {
:upload_file => :get
}
map.resources :bundles do |bundles|
bundles.resources :speeches
end
How to handle an action in SpeechesController,
2007 Jan 18
5
Session IDs and SWFUpload
Hi
I''m using SWFUpload in one of my applications, but it has one big
shortcoming: it doesn''t maintain the session. Let me explain:
The user has to login to the application, thus creating an
authenticated session (cookie _session_id client side and the
sessions table server side). However, when you use SWFUpload, the
upload script is called with a new session
2006 Jul 26
9
file upload
I''m looking for file upload documentation on the wiki, cant find anything.
I only found the changeset that supports file upload.
should the file be part of ''input'' ?
please help.
thanks
--
gcc -O0 -DRUBY_EXPORT -rdynamic -Wl,-export-dynamic -L. main.o
-lruby-static
-ldl -lcrypt -lm -o ruby
Everyone is trying their hardest to do their job but management has
2010 Mar 29
4
error in uploading file(help me urgnt)
when i tried to crate an upload file application in rails i am getting
error like this
Template is missing
Missing template app\views\upload\uploadfile.html.erb in view path
app/views
this is ma model
class DataFile < ActiveRecord::Base
def self.save(upload)
name = upload[''datafile''].original_filename
directory = "public/data"
# create the
2009 Nov 17
6
after changed the tag i got the same eror
SyntaxError in Upload#index
Showing *app/views/upload/uploadfile.rhtml* where line *#10* raised:
compile error
app/views/upload/uploadfile.rhtml:10: syntax error
Extracted source (around line *#10*):
7: <% end %>
Trace of template inclusion: app/views/upload/uploadfile.rhtml
RAILS_ROOT: /home/malathi/www/upload
Application Trace <http://localhost:3000/upload#> | Framework
2006 Dec 30
2
Another RSpec on Rails issue: how to test send_file()
Hi!
Today I needed to implement some controller code, that uses send_file()
to send image data. How can this be tested / specified with RSpec?
bye,
Tobias
2006 Sep 03
5
Upload Progress.
I have been trying to get a File Upload Progress system working, and I
have tried using Sean Treadway''s plugin, but I can''t seem to get it to
work..... Building my own seems to be the logical answer, but how would
I get the total bytes received from a file? What do I call? Thanks for
your help and time.
--
Posted via http://www.ruby-forum.com/.
2006 May 29
3
IFRAME based RJS - responds_to_parent
** File uploads with AJAX mojo **
Respond with RJS to your parent window with a form action targeted to
a hidden IFRAME. Handles all the painful situations like scoping
your JavaScript to your parent window generating the script block for
execution and clearing the IFRAME after execution so the back button
doesn''t re-execute the action.
`plugin install