aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Properly include the `from` clause when merging relationsSean Griffin2016-01-141-0/+3
* Improve error message for #or when it is structurally incompatibleRafael Mendonça França2016-01-131-6/+8
* Revert "Change `WhereClause#merge` to same named columns on diff tables"Sean Griffin2016-01-121-10/+11
* Change `WhereClause#merge` to same named columns on diff tablesSean Griffin2016-01-121-11/+10
* activerecord: reuse immutable objectsTamir Duberstein2016-01-043-12/+14
* activerecord: allocate fewer arrays in `RecordFetchWarning`Tamir Duberstein2016-01-041-6/+4
* Merge pull request #22877 from kamipo/refactor_case_sensitive_comparisonRafael França2016-01-011-0/+1
|\
| * Refactor `case_{sensitive|insensitive}_comparison`Ryuta Kamizono2016-01-011-0/+1
* | Improve example of #or to use different column values in the where clausesTim Sandberg2015-12-301-2/+2
|/
* Fix `first(limit)` to take advantage of `loaded?` records if availableBen Woosley2015-12-241-5/+20
* Deprecate passing `offset` to `find_nth`Ben Woosley2015-12-241-8/+16
* Merge pull request #22653 from matthewd/find_array_orderedMatthew Draper2015-12-181-0/+17
|\
| * Implement limit & offset for ourselvesMatthew Draper2015-12-181-6/+19
| * using order_values method instead of relying on ActiveRecord::Relation @value...Miguel Grazziotin2015-06-191-2/+2
| * WIP: fixing the limit bug and introducing new tests (failing for now) on .fin...Miguel Grazziotin2015-06-191-3/+5
| * do not change the order of the result if the object was already ordered by th...Miguel Grazziotin2015-06-051-0/+1
| * [#20338] improving implementation, fixing and adding some more specsMiguel Grazziotin2015-06-031-5/+2
| * [#20338] WIP: first basic implementation and specsMiguel Grazziotin2015-05-291-1/+5
* | remove extra spaces from deprecation messageyuuji.yaginuma2015-12-151-1/+2
* | Revert "Perform a more efficient query in `Relation#any?`"Sean Griffin2015-12-141-7/+2
* | Perform a more efficient query in `Relation#any?`Sean Griffin2015-12-141-2/+7
* | Use a bind param for `LIMIT` and `OFFSET`Sean Griffin2015-12-141-4/+30
* | Deprecate limit strings with commasSean Griffin2015-12-141-0/+6
* | Ensure `Relation` responds to `shuffle`Sean Griffin2015-12-011-1/+1
* | Docs: ActiveRecord::QueryMethods#joinsJared Beck2015-11-251-2/+22
* | Merge pull request #21000 from twalpole/find_or_parameter_issuesSean Griffin2015-11-231-0/+4
|\ \
| * | Update and fix forbidden attributes testsThomas Walpole2015-11-031-0/+4
* | | Remove blanket array delegation from `Relation`Sean Griffin2015-11-231-14/+2
* | | Raise ArgumentError when passing a truthy value to mergeAndrew White2015-11-171-1/+3
* | | Make `AR::SpawnMethods#merge!` to check an arg is a Procyui-knk2015-11-121-3/+5
* | | docs, get rid of artifact in `RecordFetchWarning` docs.Yves Senn2015-11-071-0/+2
|/ /
* | Define `sanitize_sql_for_order` for AR and use it inside `preprocess_order_args`yui-knk2015-11-021-5/+1
* | Alias left_joins to left_outer_joinsTakashi Kokubun2015-10-311-0/+2
* | Merge pull request #12071 from Crunch09/outer_joinsSean Griffin2015-10-301-1/+39
|\ \
| * | added ActiveRecord::Relation#left_outer_joinsFlorian Thomas2015-05-191-1/+39
* | | Merge pull request #13008 from ktheory/sanitize_orderSean Griffin2015-10-291-0/+7
|\ \ \
| * | | Support SQL sanitization in AR::QueryMethods#orderAaron Suggs2013-11-221-0/+7
* | | | Do not omit parentheses [ci skip]Ryuta Kamizono2015-10-251-1/+1
* | | | Refactor Calculations#execute_grouped_calculation and clean AR test caseRafael Sales2015-10-221-10/+4
* | | | Fix generated projection fields in group by queryRafael Sales2015-10-221-1/+2
* | | | Merge pull request #20653 from repinel/allow-arel-select-countSean Griffin2015-10-201-1/+3
|\ \ \ \
| * | | | Allow select with Arel and count as well as calculations with ArelRoque Pinel2015-06-301-1/+3
* | | | | Qualify column names in calculationSoutaro Matsumoto2015-10-201-1/+1
* | | | | Green version of moving the handling of supported arguments to `where`yui-knk2015-10-182-3/+3
* | | | | Revert "Move the handling of supported arguments to `where`"Rafael Mendonça França2015-10-172-1/+3
* | | | | Move the handling of supported arguments to `where`Sean Griffin2015-10-162-3/+1
* | | | | `where` raises ArgumentError on unsupported types.Jake Worth2015-10-161-0/+2
* | | | | applies new doc guidelines to Active Record.Yves Senn2015-10-145-55/+58
* | | | | `private def` breaks RDoc. Move meathod to preserve the docs.Yves Senn2015-10-131-6/+6
* | | | | docs, :nodoc: `FromClause`, `QueryAttribute` and `WhereClauseFactory`.Yves Senn2015-10-133-3/+3