-
Jeremy Kemper authored
- 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> Conflicts: activemodel/lib/active_model/serialization.rb
Jeremy Kemper authored- 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> Conflicts: activemodel/lib/active_model/serialization.rb
Loading