Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add some convenient methods for avoiding array allocations | Aaron Patterson | 2013-10-09 | 1 | -0/+3 |
| | |||||
* | make node search more efficient | Aaron Patterson | 2013-10-09 | 1 | -0/+14 |
| | | | | | | Rather than search every node in the tree, comparing that node and all of its parents every time, start at the root from both sides and work our way down the tree | ||||
* | remove == so we can see where walking up parents occurs | Aaron Patterson | 2013-10-09 | 1 | -4/+0 |
| | |||||
* | push parent up to the superclass | Aaron Patterson | 2013-10-09 | 1 | -1/+6 |
| | | | | We always want a linked list back to the root node. | ||||
* | convert JoinBase to a tree and remove the Node class | Aaron Patterson | 2013-10-09 | 1 | -1/+19 |
| | |||||
* | don't access the reflections hash | Aaron Patterson | 2013-10-08 | 1 | -1/+1 |
| | | | | The reflections hash is supposed to be private, so let's use the API. | ||||
* | Whitespaces | Rafael Mendonça França | 2013-09-11 | 1 | -1/+2 |
| | |||||
* | Reduce allocations when extracting AR models | Sam | 2013-09-11 | 1 | -1/+13 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-04-11 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: guides/source/action_mailer_basics.md | ||||
| * | JoinPart is no longer an abstract class | Neeraj Singh | 2013-04-08 | 1 | -1/+1 |
| | | |||||
* | | changed variable name active_record => base_klass | Neeraj Singh | 2013-04-09 | 1 | -5/+5 |
|/ | | | | | | | | | | | | | | | | | Current code stores the klass name in active_record and this is used throughout. While reviewing the code time and again I had the mental picture of active_record being an instance of a klass. However here the actual klass is being stored in @active_record. Secondly at two different places while referring to @active_record the comment refers to it as base klass. All this points to active_record being not the best variable name. So I thought it is better to replace active_record with base_klass. This change is confined to JoinDependency, JoinBase, JoinPart and JoinAssociation - all joining related work. | ||||
* | No need to send public methods | Akira Matsuda | 2013-02-26 | 1 | -1/+1 |
| | |||||
* | Fix eagerly loading associations without primary keys | Kelley Reynolds | 2012-02-09 | 1 | -1/+1 |
| | |||||
* | TableAlias leg ordering has changed, so change accordingly | Aaron Patterson | 2011-03-30 | 1 | -1/+1 |
| | |||||
* | Move JoinDependency and friends from ↵ | Jon Leighton | 2011-02-28 | 1 | -0/+78 |
ActiveRecord::Associations::ClassMethods to just ActiveRecord::Associations |