aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods
Commit message (Collapse)AuthorAgeFilesLines
...
* AMo overrides alias_attribute and manages aliasing all known attribute ↵Joshua Peek2009-08-101-17/+0
| | | | method matchers
* Serialized attributes should only be saved with partial_updates when the ↵Mike Breen2009-08-091-1/+1
| | | | | | serialized attribute is present [#2397 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ruby 1.9.2: Object#id is gone nowJeremy Kemper2009-08-071-1/+1
|
* Extract generic attribute method generation to AMoJoshua Peek2009-08-043-5/+5
|
* Added reset_attribute! method to ActiveRecord::AttributeMethods::Dirty which ↵Paul Gillard2009-08-041-12/+29
| | | | | | will reset an attribute to its original value should it have changed. Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Modified ActiveRecord::AttributeMethods to allow classes to specify ↵Paul Gillard2009-08-043-4/+4
| | | | | | attribute method prefixes and/or suffixes. Previously only suffixes were allowed. Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Track generated attribute methods in a separate moduleJoshua Peek2009-08-023-5/+5
|
* Start separating primary key concernsJoshua Peek2009-07-301-0/+44
|
* Move attribute_types_cached_by_default into attribute methods reading concernJoshua Peek2009-07-301-0/+11
|
* Don't need to pass attr_name to evaluate_attribute_method anymoreJoshua Peek2009-07-303-5/+5
|
* Undefine id and let it automatically be generatedJoshua Peek2009-07-301-11/+2
|
* Redirect method missing for primary key to read_attributeJoshua Peek2009-07-301-2/+2
|
* ditto for id=Joshua Peek2009-07-301-5/+1
|
* 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-303-0/+28
|
* cache_attributes is related to attribute readingJoshua Peek2009-07-301-0/+19
|
* Generate methods for all suffixesJoshua Peek2009-07-301-3/+8
|
* Concernify AR AttributeMethodsJoshua Peek2009-07-306-0/+420