navigation_behavior

navigation_behavior(error) Instance Protected methods This is the common behavior for formats associated with browsing, like :html, :iphone and so forth.

navigation_location

navigation_location() Instance Protected methods Alias for: resource_location

resource_errors

resource_errors() Instance Protected methods

resource_location

resource_location() Instance Protected methods Returns the resource location by retrieving it from the options or returning the resources array. navigation_location api_location

resourceful?

resourceful?() Instance Protected methods Checks whether the resource responds to the current format or not.

response_overridden?

response_overridden?() Instance Protected methods

params

params() Instance Public methods Returns a new ActionController::Parameters object that has been instantiated with the request.parameters.

params=

params=(value) Instance Public methods Assigns the given value to the params hash. If value is a Hash, this will create an ActionController::Parameters object that has been instantiated with the given value hash.

assert_template

assert_template(options = {}, message = nil) Instance Public methods Asserts that the request was rendered with the appropriate template file or partials. # assert that the "new" view template was rendered assert_template "new" # assert that the exact template "admin/posts/new" was rendered assert_template %r{\Aadmin/posts/new\Z} # assert that the layout 'admin' was rendered assert_template layout: 'admin' assert_template layout: 'layouts/admin' assert_template layout: :admin #

process

process(*args) Instance Public methods