1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/test
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
..
cases fixed some issues with JSON encoding 2010-09-07 11:33:10 -07:00
models Prepared ActiveModel::Naming to handle cases for namespaced isolated engines 2010-09-03 22:59:15 +02:00
validators Add validates method as shortcut to setup validators for a given set of attributes: 2010-01-07 19:23:59 +01:00
config.rb Make Active Model test suite similar to Active Record 2009-03-20 10:32:24 +00:00