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

Ticket #7361 (closed enhancement: incomplete)

Opened 2 years ago

Last modified 1 year ago

[PATCH] Serialize Method Does Not Accept Array of Attribute Names

Reported by: sethladd Assigned to: core
Priority: normal Milestone: 1.x
Component: ActiveRecord Version: edge
Severity: minor Keywords:
Cc:

Description

This patch allows for the serialize method on an AR class to accept an array of attribute names. This answers Trac 6597.

serialize [:attr1, :attr2]

Patch includes tests and DB schema updates for tests for all known databases.

Attachments

trac-7361.patch (13.0 kB) - added by sethladd on 01/24/07 21:01:54.
Patch, includes test and DB DDL updates.

Change History

01/24/07 20:59:45 changed by sethladd

This patch answers Ticket #6597.

01/24/07 21:01:54 changed by sethladd

  • attachment trac-7361.patch added.

Patch, includes test and DB DDL updates.

06/26/07 01:44:27 changed by matt

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

attachment missing, please re upload your patch and re open the ticket.