Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add length to ActiveRecord::Result | Aaron Patterson | 2014-10-13 | 1 | -0/+4 |
| | |||||
* | Encapsulate knowledge of type objects on `ActiveRecord::Result` | Sean Griffin | 2014-06-22 | 1 | -4/+40 |
| | | | | | | | | | | | | | Attempting to reduce the number of places that care about the details of how type casting occurs. We remove the type casting of the primary key in `JoinDependecy`, rather than encapsulating it. It was originally added for consistency with https://github.com/rails/rails/commit/40898c8c19fa04442fc5f8fb5daf3a8bdb9a1e03#diff-06059df8d3dee3101718fb2c01151ad0R211, but that conditional was later removed in https://github.com/rails/rails/commit/d7ddaa530fd1b94e22d745cbaf2e8a5a34ee9734. What is important is that the same row twice will have the same value for the primary key, which it will. | ||||
* | Return sized enumerator from Batches#find_each | Marc-Andre Lafortune | 2014-02-05 | 1 | -0/+6 |
| | |||||
* | Strengthen test with different nb of rows and columns | Marc-Andre Lafortune | 2014-02-05 | 1 | -2/+4 |
| | |||||
* | Merge pull request #10993 from Empact/result-each-enumerator | Carlos Antonio da Silva | 2013-06-25 | 1 | -1/+0 |
| | | | | Change Result#each to return an Enumerator when called without a block. | ||||
* | Change Result#each to return an Enumerator when called without a block. | Ben Woosley | 2013-06-18 | 1 | -0/+33 |
As with #10992, this lets us call #with_index, etc on the results. |