This project is archived and is in readonly mode.
Decimal attributes no longer work on Rails 3.0 edge
-
Yehuda Katz (wycats)
- State changed from new to open
- Milestone cleared.
-
Eric Chapweske
This was due to *before_typecast permanently disabling typecasting. Attached is the fix. Decimals not covered under the spec is a problem too. I'll go through all the basic types and see that they're handled more thoroughly.
-
Sam Ruby
I've verified that that does address the problem I've found. :-)
-
josh
- State changed from open to resolved
-
Repository
- State changed from resolved to open
(from [6d30002a52133bd105adb29084f4cc72b1ee847f]) Revert "Refactoring attributes/types" [#3348 state:open]
This reverts commit f936a1f100e75082081e782e5cceb272885c2df7.
Conflicts:
activerecord/lib/active_record.rb activerecord/lib/active_record/base.rbRevert "Fixed: #without_typecast should only disable typecasting on the duplicated attributes" [#3387 state:open]
This reverts commit 2831996483c6a045f1f38d8030256eb58d9771c3.
Reason :
It's not generating attribute methods properly, making object.column 5x slower. http://github.com/rails/rails/commit/6d30002a52133bd105adb29084f4cc...
-
Pratik
- State changed from open to resolved
