Application
Inherits ActionController::Base < ActionController::Responders < ActionController::Route::Builder < Reference < Object
Constants
Log = ::App::Log.for("controller")
Configure your log source name NOTE:: this is chaining from App::Log
PARSER_LIST = ["application/json"]
RESPONDER_LIST = ["application/json", "application/yaml", "text/html"]
Instance methods
bad_media_type(error) : ContentError
covers no acceptable response format and not an acceptable post format
invalid_param(error) : ParameterError
handles paramater missing or a bad paramater value / format
set_date_header
Sourceset_request_id
This makes it simple to match client requests with server side logs. When building microservices this ID should be propagated to upstream services.