class RespondToMismatchError
Ruby on Rails 7.2.3
Since v6.0.6Raised when a nested respond_to is triggered and the content types of each are incompatible. For example:
respond_to do |outer_type| outer_type.js do respond_to do |inner_type| inner_type.html { render body: "HTML" } end end end
Inherits from
Constants
Methods (defined here)
- self. new