Method: ActionController::ParamsWrapper::Options#model

Defined in:
actionpack/lib/action_controller/metal/params_wrapper.rb,
actionpack/lib/action_controller/metal/params_wrapper.rb

#modelObject

Returns the value of attribute model

Returns:

  • (Object)

    the current value of model



88
89
90
# File 'actionpack/lib/action_controller/metal/params_wrapper.rb', line 88

def model
  @model
end