aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation.rb
Commit message (Expand)AuthorAgeFilesLines
* Joined tables in association scope doesn't use the same aliases with the pare...Ryuta Kamizono2017-10-091-1/+2
* Decouple building `AliasTracker` from `JoinDependency`Ryuta Kamizono2017-10-081-0/+4
* Merge pull request #30619 from jagthedrummer/jeremy/instrumentation-payload-n...Eileen M. Uchitelle2017-09-201-4/+4
|\
| * Update payload names for `sql.active_record` to be more descriptive.Jeremy Green2017-09-201-4/+4
* | Place class level `update`, `destroy`, and `delete` in `Persistence::ClassMet...Ryuta Kamizono2017-09-181-94/+0
|/
* Remove unused explicit delegation to `klass` in `relation`Ryuta Kamizono2017-09-141-1/+1
* Should work inverse association when eager loadingRyuta Kamizono2017-08-251-2/+14
* Restore `to_sql` to return only SQL (#29945)Ryuta Kamizono2017-08-181-2/+1
* Use `predicate_builder.build_bind_attribute` wherever possibleRyuta Kamizono2017-07-281-2/+2
* Merge pull request #29848 from kamipo/fix_distinct_count_with_order_and_limitRafael França2017-07-241-0/+4
|\
| * Fix `COUNT(DISTINCT ...)` with `ORDER BY` and `LIMIT`Ryuta Kamizono2017-07-221-0/+4
* | Refactor Active Record to let Arel manage bind paramsSean Griffin2017-07-241-17/+11
|/
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Fix unscoping `default_scope` in STI associationsRyuta Kamizono2017-07-191-0/+4
* Don't cache `scope_for_create`Ryuta Kamizono2017-07-161-2/+2
* Merge pull request #29809 from kamipo/remove_unused_ivarsKasper Timm Hansen2017-07-161-2/+1
|\
| * Remove unused `@last`, `@order_clause`, and `@join_dependency`Ryuta Kamizono2017-07-161-2/+1
* | Fix `create_with` using both string and symbolRyuta Kamizono2017-07-161-1/+1
|/
* Skip query cache for in_batches and friendsEugene Kenny2017-07-061-13/+25
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Fix to scoping is correctly restoredRyuta Kamizono2017-06-291-1/+1
* `Relation#locked?` should not build arelRyuta Kamizono2017-06-201-1/+1
* Merge pull request #29003 from kamipo/delegate_ast_and_locked_to_arel_explicitlyMatthew Draper2017-05-281-0/+1
|\
| * Delegate `ast` and `locked` to `arel` explicitlyRyuta Kamizono2017-05-061-0/+1
* | Merge pull request #29237 from mohitnatoo/arel-update-docRafael França2017-05-261-3/+3
|\ \
| * | [ci skip] Changed sentence formation for ActiveRecordRelation#updateMohit Natoo2017-05-261-3/+3
| |/
* | Remove unused `left_joins_values` generationRyuta Kamizono2017-05-231-1/+1
* | Don't eager loading if unneeded for `FinderMethods#exists?`Ryuta Kamizono2017-05-111-2/+1
|/
* Load only needed records on ActiveRecord::Relation#inspectHendy Tanata2017-03-281-1/+3
* Simply delegate `as_json` to `records`Ryuta Kamizono2017-03-101-4/+0
* Remove deprecation of using ActiveRecord::Base instance in .updateRafael Mendonça França2017-01-031-2/+1
* Remove deprecated `#uniq`, `#uniq!`, and `#uniq_value`Ryuta Kamizono2016-12-301-9/+0
* Remove deprecated conditions parameter from #delete_allRafael Mendonça França2016-12-291-19/+11
* Remove deprecated conditions parameter from `#destroy_all`Rafael Mendonça França2016-12-291-10/+2
* fixing update_all and delete_all when chained with left_joins. fixes #27192Diego Plentz2016-11-271-2/+6
* docs, add `update_all` example with SQL fragment. [ci skip]Yves Senn2016-11-161-0/+3
* Avoid `build_preloader` if preloading is not neededRyuta Kamizono2016-11-141-2/+3
* Remove outdated "#TODO: Fix for binds." comment [ci skip]Ryuta Kamizono2016-09-111-1/+0
* Ensure that inverse associations are set before running callbacksSean Griffin2016-08-311-4/+4
* Switch back to `Hash.dup`Jon Moss2016-08-271-4/+2
* Remove over meta programming in AR::RelationBogdan Gusiev2016-08-231-9/+4
* code gardening: removes redundant selfsXavier Noria2016-08-081-1/+1
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-34/+34
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-6/+6
* Use `connection#to_sql` for construct an SQLRyuta Kamizono2016-07-191-10/+5
* Pass `pk: false` to `connection.insert` explicitly if do not have a primary keyRyuta Kamizono2016-07-011-1/+1
* Exists shouldn't error when used with `includes`Sean Griffin2016-05-301-6/+1
* Pass over all Rails 5 warnings, to make sure:Vipul A M2016-04-121-3/+3
* Merge pull request #24247 from ypxing/refactor_substitute_valuesAndrew White2016-04-041-5/+5
|\