search for: edit_song

Displaying 2 results from an estimated 2 matches for "edit_song".

Did you mean: edit_songs
2006 Jul 24
0
Mongrel + BackgrounDRb + File Column = Upload Progress Bar?
...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 # I know my :args is probably wrong. What is the correct argument for args in this case? session[:job_key] = MiddleMan.new_worker(:class => :upload_worker, :args =>...
2006 Jul 24
4
Mongrel + BackgrounDRb + File Column = Upload Progress Bar?
...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 session[:job_key] = MiddleMan.new_worker(:class => :upload_worker, :args => "Uploading song...") @song = Song.new(params[:song]) @song.member_id = sess...