This project is archived and is in readonly mode.

Changeset [571cb1ddc6692ed96e04a14e670beb01ba8c93ca] by Mislav Marohnić

July 13th, 2010 @ 07:09 AM

enable AS::JSON.encode to encode AR::Relation by providing as_json method

[#5073 state:resolved]

Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/571cb1ddc6692ed96e04a14e670beb...

Committed by Mislav Marohnić

  • M activerecord/lib/active_record/relation.rb
  • M activerecord/test/cases/json_serialization_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>