This project is archived and is in readonly mode.

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
- 
         CancelProfileIsBroken September 25th, 2009 @ 12:04 PM- Tag changed from activemodel, patch to activemodel, bugmash, patch
 
- 
         josh October 7th, 2009 @ 05:23 AM- Milestone cleared.
- State changed from new to open
- Assigned user set to josh
 
- 
         josh October 7th, 2009 @ 03:29 PM- State changed from open to committed
 
- 
         Repository October 7th, 2009 @ 03:57 PM- State changed from committed to resolved
 (from [4df96338ede62da8ae8c188de5454b4b6b186ff8]) Fixed behavior of attribute_methods_generated? [#3220 state:resolved] Signed-off-by: Joshua Peek josh@joshpeek.com 
 http://github.com/rails/rails/commit/4df96338ede62da8ae8c188de5454b...
- 
         Jeremy Kemper October 15th, 2010 @ 11:01 PM- Milestone set to 3.0.2
- Importance changed from  to 
 
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
Tags
Referenced by
- 
         3220 
          Fix for ActiveModel::AttributeMethods#attribute_methods_generated?
        (from [4df96338ede62da8ae8c188de5454b4b6b186ff8])
Fixed b... 3220 
          Fix for ActiveModel::AttributeMethods#attribute_methods_generated?
        (from [4df96338ede62da8ae8c188de5454b4b6b186ff8])
Fixed b...
 josh
      josh
 Sam Pohlenz
      Sam Pohlenz