Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Introducing `take` as a replacement to the old behavior of `first` | Marcelo Silveira | 2012-05-02 | 1 | -1/+1 | |
| | ||||||
* | Fix PR #6091 | Andrew White | 2012-04-30 | 1 | -1/+1 | |
| | | | | | | 1. ActiveRecord::Base is not ActiveRecord::Relation 2. The order of records from an SQL query is uncertain without an ORDER clause 3. Run your own tests when submitting a pull request | |||||
* | Add Relation#find_by and Relation#find_by! | Jon Leighton | 2012-03-30 | 1 | -0/+1 | |
| | ||||||
* | column types are passed from the result set to the instantiated AR object | Aaron Patterson | 2012-02-07 | 1 | -1/+10 | |
| | ||||||
* | Merge pull request #4805 from xuanxu/none_and_null_object_pattern | Jon Leighton | 2012-01-31 | 1 | -1/+1 | |
|\ | | | | | Added `none` query method to return zero records. | |||||
| * | Added `none` query method to return zero records. | Juanjo Bazán | 2012-01-31 | 1 | -1/+1 | |
| | | | | | | And added NullRelation class implementing the null object pattern for the `Relation` class. | |||||
* | | always return the result set from select_all | Aaron Patterson | 2012-01-31 | 1 | -1/+1 | |
| | | ||||||
* | | made the result set object act more like an array | Aaron Patterson | 2012-01-31 | 1 | -1/+2 | |
|/ | ||||||
* | Add ActiveRecord::Relation#references (#950) | Jon Leighton | 2012-01-16 | 1 | -1/+1 | |
| | ||||||
* | Split out most of the AR::Base code into separate modules :cake: | Jon Leighton | 2011-12-15 | 1 | -0/+58 | |