Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Extract generic attribute method generation to AMo | Joshua Peek | 2009-08-04 | 3 | -5/+5 |
| | |||||
* | Added reset_attribute! method to ActiveRecord::AttributeMethods::Dirty which ↵ | Paul Gillard | 2009-08-04 | 1 | -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 Gillard | 2009-08-04 | 3 | -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 module | Joshua Peek | 2009-08-02 | 3 | -5/+5 |
| | |||||
* | Start separating primary key concerns | Joshua Peek | 2009-07-30 | 1 | -0/+44 |
| | |||||
* | Move attribute_types_cached_by_default into attribute methods reading concern | Joshua Peek | 2009-07-30 | 1 | -0/+11 |
| | |||||
* | Don't need to pass attr_name to evaluate_attribute_method anymore | Joshua Peek | 2009-07-30 | 3 | -5/+5 |
| | |||||
* | Undefine id and let it automatically be generated | Joshua Peek | 2009-07-30 | 1 | -11/+2 |
| | |||||
* | Redirect method missing for primary key to read_attribute | Joshua Peek | 2009-07-30 | 1 | -2/+2 |
| | |||||
* | ditto for id= | Joshua Peek | 2009-07-30 | 1 | -5/+1 |
| | |||||
* | Don't define id_before_type_cast, just let it be generated on its own | Joshua Peek | 2009-07-30 | 1 | -5/+5 |
| | |||||
* | Move id attribute methods into their related concern | Joshua Peek | 2009-07-30 | 3 | -0/+28 |
| | |||||
* | cache_attributes is related to attribute reading | Joshua Peek | 2009-07-30 | 1 | -0/+19 |
| | |||||
* | Generate methods for all suffixes | Joshua Peek | 2009-07-30 | 1 | -3/+8 |
| | |||||
* | Concernify AR AttributeMethods | Joshua Peek | 2009-07-30 | 6 | -0/+420 |