aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-04-111-2/+1
|\
| * mark relation mutator as :nodoc: [ci skip]Francesco Rodriguez2013-04-021-2/+1
* | Remove warningCarlos Antonio da Silva2013-04-101-2/+2
* | converge three lines into oneNeeraj Singh2013-04-101-3/+1
* | While merging relations preserve context for joinsJared Armstrong and Neeraj Singh2013-04-101-2/+30
* | true/false => truthy falsySteve Klabnik2013-04-021-2/+2
* | Prefer find_by over dynamic finders in rdocSam Ruby2013-04-021-1/+1
* | Throwing a RecordNotFound exception when a record is scanned using thewangjohn2013-04-011-11/+24
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-03-301-1/+1
|\
| * Fix typoCarson McDonald2013-03-221-1/+1
| * Fix typo, ording to orderingCarson McDonald2013-03-181-1/+1
| * Uniq cannot be used directly on an ActiveRecord model. 'DISTINCT field' is th...Daniel Lobato2013-03-121-1/+1
* | Merge pull request #9274 from KrzysiekJ/spaces_in_scope_namesRafael Mendonça França2013-03-271-5/+3
|\ \
| * | Use define_method when method name contains weird characters.Krzysztof Jurewicz2013-03-181-5/+3
* | | Fixed typos in activerecordPrathamesh Sonpatki2013-03-271-1/+1
* | | Fix some typos in AR- CHANGELOG, tests, method doc. fixedVipul A M2013-03-201-1/+1
* | | Merge branch 'master-sec'Aaron Patterson2013-03-181-1/+1
|\ \ \ | |/ / |/| |
| * | stop calling to_sym when building arel nodes [CVE-2013-1854]Aaron Patterson2013-03-151-1/+1
| |/
* | Deprecate the `:distinct` option for `Relation#count`.Yves Senn2013-03-151-2/+7
* | rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.Yves Senn2013-03-152-11/+13
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-03-051-1/+1
|\
| * Fix WhereChain docs to mention only notErnie Miller2013-03-041-1/+1
* | Remove .all usage from unscope doc examples [ci skip]Carlos Antonio da Silva2013-03-041-4/+4
* | Use 1.9 hash style in changelog and doc examples [ci skip]Carlos Antonio da Silva2013-03-041-3/+3
* | Created an unscope method for removing relations from a chain ofwangjohn2013-03-031-0/+94
* | Revert "Merge pull request #9207 from dylanahsmith/mysql-quote-numeric"Steve Klabnik2013-02-271-5/+0
|/
* Expand order(:symbol) to "table".symbol to prevent broken queries on PG.Yves Senn2013-02-251-0/+5
* Make explicit the method will raise an exceptionRafael Mendonça França2013-02-241-10/+10
* remove AR auto-explain (config.auto_explain_threshold_in_seconds)Yves Senn2013-02-241-1/+1
* adds a missing LIMIT 1 in #take docsXavier Noria2013-02-231-1/+1
* Merge pull request #9345 from wangjohn/change_name_of_query_method_argument_c...Rafael Mendonça França2013-02-201-10/+10
|\
| * Renaming the check_empty_arguments method to something more descriptive.wangjohn2013-02-201-10/+10
* | removes some remaining relation bang methods documentation [ci skip]Xavier Noria2013-02-201-3/+0
* | adds an example in the docs of #not with multiple conditions [ci skip]Xavier Noria2013-02-201-4/+8
|/
* Added comments about the check_empty_arguments method which is calledwangjohn2013-02-201-11/+27
* Raise an error when query methods have blank arguments, and when blank argume...John J Wang2013-02-191-9/+23
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-02-152-0/+24
|\
| * copy edits [ci skip]Vijay Dev2013-02-151-1/+1
| * Add example for ActiveRecord::Base.joins using a string as argumentMaurizio De Santis2013-02-071-0/+5
| * Add example for ActiveRecord::Base.group using a string as argumentMaurizio De Santis2013-02-071-0/+3
| * Add documentation for ActiveRecord.select when use strings as argumentsMaurizio De Santis2013-02-071-0/+10
| * Add ActiveRecord.count documentation when used on group relationsMaurizio De Santis2013-02-071-0/+6
* | Use IN operator like arel for empty hash in where clauserobertomiranda2013-02-091-1/+1
* | Reverting e170014113 (Change behaviour with empty hash in where clause)Guillermo Iguaran2013-02-081-1/+1
* | Reverting 16f6f25 (Change behaviour with empty array in where clause)Guillermo Iguaran2013-02-081-2/+0
* | Change behaviour with empty array in where clauserobertomiranda2013-02-081-0/+2
* | Change behaviour with empty hash in where clauserobertomiranda2013-02-081-1/+1
* | active_record: Quote numeric values compared to string columns.Dylan Smith2013-02-071-0/+5
|/
* Prevent Relation#merge from collapsing wheres on the RHSJon Leighton2013-01-271-17/+19
* `#count` in conjunction with `#uniq` performs distinct count.Yves Senn2013-01-261-1/+2