aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* 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
* | | | docs, recognize code examples as Ruby in `Relation::QueryMethods` [ci skip]Yves Senn2015-10-131-33/+37
* | | | docs, nodoc internal Active Record `DelegateCache`. [ci skip]Yves Senn2015-10-131-3/+3
* | | | docs, fix highlighting for code examples in calculations.rb [ci skip]Yves Senn2015-10-131-20/+20
* | | | Remove unused requireakihiro172015-10-081-1/+0
* | | | Fix AC::Parameters not being sanitized for query methods.Guo Xiang Tan2015-10-021-5/+3
* | | | Merge pull request #21775 from amitsuroliya/fix_column_alias_forRafael Mendonça França2015-09-261-1/+0
|\ \ \ \
| * | | | `column_alias_for` method is no more supporting *keys [ci skip]amitkumarsuroliya2015-09-261-1/+0
* | | | | Fix `ActiveRecord::PredicateBuilder` docs. as `register_handler` no more Clas...amitkumarsuroliya2015-09-261-1/+1
|/ / / /
* | | | Correcting `ActiveRecord::ReadOnlyRecord` Error Message [ci skip]amitkumarsuroliya2015-09-261-1/+1
* | | | docs, add missing closing bracket. [ci skip]amitkumarsuroliya2015-09-251-1/+1
* | | | remove warning from Calculations#sumyuuji.yaginuma2015-09-231-1/+1
* | | | Fix arguments of `AR::Calculations#sum`yui-knk2015-09-231-3/+3
* | | | Ensure aliased attributes passed to `select` are quoted if using `from`Sean Griffin2015-09-211-1/+1
* | | | Reduce calls to stringify_keys.Guo Xiang Tan2015-09-073-4/+5
* | | | #where fails if opts.responds_to?(:==) unexpectedlySamuel Williams2015-09-051-1/+1
* | | | Don't allocate a bunch of strings in `Relation::Merger`Sean Griffin2015-09-021-4/+8
* | | | Add ActiveRecord::Relation#in_batchesSina Siadat2015-08-072-9/+156
* | | | Extra caller details added to ActiveRecord::RecordNotFoundSameer Rahmani2015-07-211-1/+2
* | | | Freeze string literals when not mutated.schneems2015-07-192-4/+4
* | | | Fix regression caused by a01d164bRafael Mendonça França2015-07-071-2/+2
* | | | [skip ci] #distinct instead of #uniqJon Atack2015-07-031-2/+3
|/ / /
* | | Update .pluck documentation on uniqPrem Sichanugrist2015-06-261-1/+1
* | | Include `Enumerable` in `ActiveRecord::Relation`Sean Griffin2015-06-193-17/+8
* | | Use `Enumerable#sum` on `ActiveRecord::Relation` when a block is givenSean Griffin2015-06-191-2/+6
* | | Merge pull request #20362 from kddeisz/enumerable_pluckRafael Mendonça França2015-06-011-0/+4
|\ \ \
| * | | Allow Enumerable#pluck to take a splat.Kevin Deisz2015-05-291-0/+4
* | | | Ensure symbols passed to `select` are always quotedSean Griffin2015-05-301-9/+7
|/ / /
* | | Fix the shadowing warning for `reflection`Roque Pinel2015-05-281-2/+2
* | | Merge pull request #20196 from huoxito/preload-association-and-mergesRafael Mendonça França2015-05-281-1/+23
|\ \ \
| * | | Properly append preload / includes args on MergerWashington Luiz2015-05-281-1/+23
| | |/ | |/|
* | | Allow Relation#compact using delegationJordan Raine2015-05-281-1/+1