This project is archived and is in readonly mode.
Changeset [4e2a981bdd162dfd52b15f34b4e45ba87726ff53] by Neeraj Singh
November 24th, 2010 @ 09:09 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/4e2a981bdd162dfd52b15f34b4e45...
Committed by Neeraj Singh
- M actionpack/lib/action_controller/metal/renderers.rb
- M actionpack/test/controller/mime_responds_test.rb
- M actionpack/test/lib/controller/fake_models.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>