class ActionController::RespondToMismatchError
end
end
end
inner_type.html { render body: “HTML” }
respond_to do |inner_type|
outer_type.js do
respond_to do |outer_type|
are incompatible. For example:
Raised when a nested respond_to is triggered and the content types of each
def initialize(message = nil)
def initialize(message = nil) super(message || DEFAULT_MESSAGE) end