This project is archived and is in readonly mode.

#5551 ✓ resolved
Marjan Krekoten'

[PATCH] Fix 'warning: method redefined' in attr_accessor_with_default for ruby 1.9.2

Reported by Marjan Krekoten' | September 4th, 2010 @ 11:22 AM | in 3.0.2

Test and fix are attached.
As side effect should be little faster because avoids future calls to attr_reader every time new value assigned.

Comments and changes to this ticket

Create your profile

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

Tickets have moved to Github

The new ticket tracker is available at https://github.com/rails/rails/issues

Shared Ticket Bins

Referenced by

Pages