RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: jfine
Site: http://jfine.org/
Not perfect but this kinda works.
http://stackoverflow.com/questions/13128485/pretty-print-json-generated-with-a-jbuilder-template-in-rails-3-2-8
This looks like an option as well.
http://stackoverflow.com/questions/86653/how-can-i-pretty-format-my-json-output-in-ruby-on-rails/13029297#13029297
Do you see any risk in using this method? Might allow for private methods to be called? How would you mitigate this risk?
Not perfect but this kinda works.
http://stackoverflow.com/questions/13128485/pretty-print-json-generated-with-a-jbuilder-template-in-rails-3-2-8
This looks like an option as well.
http://stackoverflow.com/questions/86653/how-can-i-pretty-format-my-json-output-in-ruby-on-rails/13029297#13029297
Do you see any risk in using this method? Might allow for private methods to be called? How would you mitigate this risk?