Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [fa2a5ae0339c90d023a7559e681a588219dc3903] by Neeraj Singh

Revision fa2a5ae0339c90d023a7559e681a588219dc3903, committed by Neeraj Singh · November 24th, 2010 @ 09:08 PM

If a user wants json output then try best to render json output. In such cases prefer kind_of(String) over respond_to?(to_str)

[#5841 state:resolved]

Signed-off-by: José Valim jose.valim@gmail.com
https://github.com/rails/rails/commit/fa2a5ae0339c90d023a7559e681a5...

3 changed files

  • M actionpack/lib/action_controller/metal/renderers.rb
  • M actionpack/test/controller/mime_responds_test.rb
  • M actionpack/test/lib/controller/fake_models.rb