modpriest
2007-Apr-14 03:08 UTC
undefined method ''upload_status_for'' for UploadBarController:Class?
Here is the code: class UploadBarController < ApplicationController #UploadBarController upload_status_for :upload def upload case @request.method when :post @message = ''File uploaded: '' + params[:document] [:file].size.to_s upload_progress.message = "Simulating some file processing stage 1..." session.update sleep(3) upload_progress.message = "Continuing processing stage 2..." session.update sleep(3) redirect_to :action => ''show'' finish_upload_status "''#{@message}''" end end end What is the problem? Do i missing any require file or object? How do i include them, and what library is that? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---