Skip to content
  • Sean Doyle's avatar
    4117583e
    Document rendering `:renderable` and `#render_in` · 4117583e
    Sean Doyle authored
    Provide examples for rendering objects that respond to `render_in`. Also
    highlight that the object can also define a `#format` method to control
    how the rendered String should be treated.
    
    Add test coverage for both Action View's and Action Pack's support for
    `render` with `:renderable` options.
    4117583e
    Document rendering `:renderable` and `#render_in`
    Sean Doyle authored
    Provide examples for rendering objects that respond to `render_in`. Also
    highlight that the object can also define a `#format` method to control
    how the rendered String should be treated.
    
    Add test coverage for both Action View's and Action Pack's support for
    `render` with `:renderable` options.
Loading