method

performed?

performed?()
public

No documentation available.

# File actionpack/lib/action_controller/metal.rb, line 195
    def performed?
      response_body
    end

1Note

#performed? is an option when getting ActionController::DoubleRenderError

suzuki ยท Oct 26, 2012

You can avoid ActionController::DoubleRenderError (Can only render or redirect once per action) with #performed?

==== For example def index redirect_to not_found_path unless authenticated? render :action => 'update' unless performed? end