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

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=""></a>