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 »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Referenced by

Pages