Displaying 2 results from an estimated 2 matches for "upload_song".
2006 Jul 24
0
Mongrel + BackgrounDRb + File Column = Upload Progress Bar?
...information (mostly examples)
on how one would handle a progress bar upload using BackgrounDRb and File
Column. I did read http://backgroundrb.rubyforge.org/ and Ezra''s blog of
course, but I still have a few questions.
I made a simple upload form (as a test) that is submitted to the
"upload_song" action.
def upload_song
@song = Song.new(params[:song])
@song.member_id = session[:member_id]
@song.save
redirect_to :action => ''edit_songs''
end
The question is, do I create the session[:job_key] within this method like
so: ??
def upload_song...
2006 Jul 24
4
Mongrel + BackgrounDRb + File Column = Upload Progress Bar?
...information (mostly examples)
on how one would handle a progress bar upload using BackgrounDRb and File
Column. I did read http://backgroundrb.rubyforge.org/ and Ezra''s blog of
course, but I still have a few questions.
I made a simple upload form (as a test) that is submitted to the
"upload_song" action.
def upload_song
@song = Song.new(params[:song])
@song.member_id = session[:member_id]
@song.save
redirect_to :action => ''edit_songs''
end
The question is, do I create the session[:job_key] within this method like
so: ??
def upload_song...