1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib
Jakub Suder 2524cf404c fixed some issues with JSON encoding
- as_json in ActiveModel should return a hash
  and handle :only/:except/:methods options
- Array and Hash should call as_json on their elements
- json methods should not modify options argument

[#5374 state:committed]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-09-07 11:33:10 -07:00
..
active_record fixed some issues with JSON encoding 2010-09-07 11:33:10 -07:00
rails/generators Implemented ActiveRecord::Migrations#copy based on James Adam's idea 2010-09-03 22:59:09 +02:00
active_record.rb mass_assignment_security moved from AR to AMo, and minor test cleanup 2010-07-08 18:28:45 +02:00