This project is archived and is in readonly mode.

#3220 ✓resolved
Sam Pohlenz

Fix for ActiveModel::AttributeMethods#attribute_methods_generated?

Reported by Sam Pohlenz | September 17th, 2009 @ 02:36 AM | in 3.0.2

The behavior of ActiveModel::AttributeMethods#attribute_methods_generated? currently seems to be broken -- it returns nil even when the attribute methods have been generated.

This patch fixes this and adds some verification tests for define_attribute_methods and undefine_attribute_methods. It depends on the changes in #3216.

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>

People watching this ticket

Attachments

Referenced by

Pages