Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #9970 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

[PATCH] Add documentation for Hash#to_json and Enumerable#to_json

Reported by: chuyeow Assigned to: core
Priority: normal Milestone: 2.x
Component: ActiveSupport Version: edge
Severity: normal Keywords: docs
Cc:

Description

Adds docs explaining the changes in r9751. Also added a test for encoding hashes with integer keys.

Attachments

document_hash_enumerable_to_json.diff (3.0 kB) - added by chuyeow on 10/24/07 10:19:18.

Change History

10/24/07 10:19:18 changed by chuyeow

  • attachment document_hash_enumerable_to_json.diff added.

10/24/07 10:22:04 changed by chuyeow

My bad, it should be r7736. 9751 is the ticket number.

10/24/07 14:50:53 changed by gbuesing

+1

Useful docs to complement a useful patch!

10/24/07 15:37:45 changed by josh

+1

10/24/07 16:21:50 changed by bitsweat

  • status changed from new to closed.
  • resolution set to fixed.

(In [8010]) Document Enumerable and Hash #to_json. Add test for hash with integer key. Closes #9970.