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

Ticket #10630 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

[PATCH] Ruby 1.9 compat: use instance_variable_names

Reported by: fcheung Assigned to: bitsweat
Priority: normal Milestone: 2.x
Component: ActiveSupport Version: edge
Severity: normal Keywords:
Cc:

Description

instance_variables returns symbols on 1.9 instead of 1.8. Many parts of rails currently assume strings. Also added tests for adv_attr_accessor in ActionMailer (which was broken by this change but had no tests)

Attachments

instance_variable_names.diff (5.4 kB) - added by fcheung on 12/28/07 01:32:40.

Change History

12/28/07 01:32:40 changed by fcheung

  • attachment instance_variable_names.diff added.

12/28/07 05:42:16 changed by bitsweat

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

(In [8499]) Ruby 1.9 compat: introduce instance_variable_names. Closes #10630 [Frederick Cheung]