Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | guarantee that `klass` is not nil inside the preloader objects | Aaron Patterson | 2013-09-24 | 1 | -4/+11 |
| | |||||
* | eliminate the `loaded?` conditional | Aaron Patterson | 2013-09-24 | 1 | -2/+6 |
| | |||||
* | push preloaded test up to the factory method so we can eliminate | Aaron Patterson | 2013-09-24 | 1 | -2/+17 |
| | | | | conditionals from the individual preloaded classes | ||||
* | pass the preloader down so we only have to construct one | Aaron Patterson | 2013-09-23 | 1 | -2/+4 |
| | |||||
* | remove state from the preloader | Aaron Patterson | 2013-09-23 | 1 | -17/+7 |
| | |||||
* | pass the scope all the way down to the constructors | Aaron Patterson | 2013-09-23 | 1 | -10/+10 |
| | |||||
* | hm:t preloading will respect order set on the RHS association | Aaron Patterson | 2013-09-23 | 1 | -1/+1 |
| | |||||
* | fix method name | Aaron Patterson | 2013-09-20 | 1 | -3/+5 |
| | |||||
* | access preloaders independently of model mutations | Aaron Patterson | 2013-09-20 | 1 | -12/+12 |
| | |||||
* | push running the preloaders up | Aaron Patterson | 2013-09-20 | 1 | -19/+7 |
| | |||||
* | push `run` up to preload | Aaron Patterson | 2013-09-20 | 1 | -10/+30 |
| | |||||
* | the hash should only ever be length one, so decompose it | Aaron Patterson | 2013-09-20 | 1 | -4/+5 |
| | |||||
* | stop depending on preloader interals so we can create fewer preloader | Aaron Patterson | 2013-09-20 | 1 | -19/+23 |
| | | | | objects | ||||
* | lhs preload is always a single preload, so just preload one | Aaron Patterson | 2013-09-20 | 1 | -3/+3 |
| | |||||
* | just read the attribute rather than `send`ing | Aaron Patterson | 2013-09-20 | 1 | -1/+1 |
| | |||||
* | extract exception raising, clean up group_by statement | Aaron Patterson | 2013-09-20 | 1 | -6/+7 |
| | |||||
* | generate fewer objects when grouping | Aaron Patterson | 2013-09-20 | 1 | -5/+7 |
| | |||||
* | do not access internal data structures | Aaron Patterson | 2013-09-20 | 1 | -1/+1 |
| | |||||
* | reduce relation allocations | Aaron Patterson | 2013-08-30 | 1 | -1/+3 |
| | |||||
* | require a class for cache computations | Aaron Patterson | 2013-08-30 | 1 | -1/+1 |
| | |||||
* | add a specific factory method rather than using new | Aaron Patterson | 2013-07-23 | 1 | -1/+1 |
| | |||||
* | refactoring to_sym of Symbol in preload | Angelo capilleri | 2013-01-02 | 1 | -1/+3 |
| | |||||
* | Migration of docs to 1.9 hash syntax | AvnerCohen | 2012-10-23 | 1 | -3/+3 |
| | |||||
* | Eager autoload Preloader classes | John Firebaugh | 2012-10-10 | 1 | -10/+14 |
| | | | | | Without eager autoloading, these would be autoloaded only when #preloader_for is called, which is too late in threaded applications. | ||||
* | Revert "Use flat_map { } instead of map {}.flatten" | Santiago Pastorino | 2012-10-05 | 1 | -1/+1 |
| | | | | | | | | | | | This reverts commit abf8de85519141496a6773310964ec03f6106f3f. We should take a deeper look to those cases flat_map doesn't do deep flattening. irb(main):002:0> [[[1,3], [1,2]]].map{|i| i}.flatten => [1, 3, 1, 2] irb(main):003:0> [[[1,3], [1,2]]].flat_map{|i| i} => [[1, 3], [1, 2]] | ||||
* | Use flat_map { } instead of map {}.flatten | Santiago Pastorino | 2012-10-05 | 1 | -1/+1 |
| | |||||
* | Represent association scope options as AR::Relations insternally. | Jon Leighton | 2012-07-13 | 1 | -12/+7 |
| | |||||
* | Fix AR preloader example | Alexey Vakhov | 2012-05-22 | 1 | -1/+1 |
| | |||||
* | Rewrote AssociationPreload. | Jon Leighton | 2011-02-28 | 1 | -0/+177 |