diff options
author | Prem Sichanugrist <s@sikachu.com> | 2011-04-10 00:54:43 +0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2011-04-10 16:47:49 +0800 |
commit | c0efc4009adb870ee23e93d46ac374f772d8cb4f (patch) | |
tree | c8cb567f4c3fe22413a9676054661cd293171585 /activemodel | |
parent | 508c679f11adfd14ac35077917510c8fe81c73c0 (diff) | |
download | rails-c0efc4009adb870ee23e93d46ac374f772d8cb4f.tar.gz rails-c0efc4009adb870ee23e93d46ac374f772d8cb4f.tar.bz2 rails-c0efc4009adb870ee23e93d46ac374f772d8cb4f.zip |
Make scaffold_controller generator generate code for JSON response instead of XML
It seems like a lot of people are using JSON in their API more than XML nowadays, so Rails should follow that convention by providing the JSON format block in scaffold_controller by default.
This patch has been requested by DHH
Diffstat (limited to 'activemodel')
0 files changed, 0 insertions, 0 deletions