Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Fix for ActiveModel::AttributeMethods#attribute_methods_generated?

#3220

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 Don't share attribute method matchers between classes.

Reported by Sam Pohlenz · September 17th, 2009 @ 02:36 AM

State: resolved
Milestone: 3.0.2
Assigned to: josh josh
Importance: none

Activity

  1. CancelProfileIsBroken
    CancelProfileIsBroken
    • Tag changed from activemodel, patch to activemodel, bugmash, patch

    September 25th, 2009 @ 12:04 PM

  2. josh
    josh
    • Milestone cleared.
    • State changed from new to open
    • Assigned user set to josh

    October 7th, 2009 @ 05:23 AM

  3. josh
    josh
    • State changed from open to committed

    October 7th, 2009 @ 03:29 PM

  4. Repository
  5. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to

    October 15th, 2010 @ 11:01 PM