aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods/before_type_cast.rb
Commit message (Collapse)AuthorAgeFilesLines
* read_attribute_before_type_cast should accept symbolNeeraj Singh2013-05-111-1/+2
|
* Fix code example in AR::AttributeMethods::BeforeTypeCast.Hendy Tanata2012-10-221-1/+1
|
* add docs to AR::AttributeMethods::BeforeTypeCast [ci skip]Francesco Rodriguez2012-10-211-0/+23
|
* fix typo and improve example [ci skip]Francesco Rodriguez2012-10-211-1/+3
|
* update AR::AttributeMethods::BeforeTypeCast docs [ci skip]Francesco Rodriguez2012-10-211-0/+18
|
* move id_before_type_cast to PrimaryKey moduleSergey Nartimov2012-02-161-5/+1
|
* Fix indentation hereSantiago Pastorino2010-12-041-7/+8
|
* attributes_before_type_cast are just the value of @attributesSantiago Pastorino2010-12-041-1/+1
|
* No need to use inject here, use map instead.Emilio Tagua2010-09-221-4/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Revert "Refactoring attributes/types" [#3348 state:open]Pratik Naik2010-01-221-3/+10
| | | | | | | | | | | | | | | | | This reverts commit f936a1f100e75082081e782e5cceb272885c2df7. Conflicts: activerecord/lib/active_record.rb activerecord/lib/active_record/base.rb Revert "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.
* Refactoring attributes/types [#3348 state:resolved]Eric Chapweske2009-10-171-10/+3
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Don't define id_before_type_cast, just let it be generated on its ownJoshua Peek2009-07-301-5/+5
|
* Move id attribute methods into their related concernJoshua Peek2009-07-301-0/+12
|
* Concernify AR AttributeMethodsJoshua Peek2009-07-301-0/+21