aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation.rb
Commit message (Expand)AuthorAgeFilesLines
* Refactor object creation from relation to avoid pushing scope attributesRyuta Kamizono2018-09-111-24/+3
* Move `scoping` handling into klass level from relationRyuta Kamizono2018-09-111-4/+1
* Fixes #33610Darwin D Wu2018-09-111-7/+18
* Just delegate `update` with ids on a relation to `klass.update`Ryuta Kamizono2018-08-311-2/+6
* Avoid extra scoping when using `Relation#update`Ryuta Kamizono2018-07-311-0/+4
* Extract `Relation#bind_attribute` for internal useRyuta Kamizono2018-07-301-0/+6
* Extract `Relation#update_counters` for internal useRyuta Kamizono2018-07-301-0/+18
* Rails guides are now served over httpsPaul McMahon2018-07-241-1/+1
* Avoid extra scoping in delegating to klass methods in the `scope` blockRyuta Kamizono2018-07-191-2/+2
* Ensure to calculate column aliases after all table aliases are constructedRyuta Kamizono2018-06-191-11/+11
* Fix `touch` option to behave consistently with `Persistence#touch` methodRyuta Kamizono2018-06-181-4/+1
* Fix typo in the `touch_all` doc [ci skip]Ryuta Kamizono2018-04-211-4/+4
* Merge pull request #31513 from fatkodima/relation-touch_allRafael França2018-04-201-0/+37
|\
| * Add `touch_all` method to `ActiveRecord::Relation`fatkodima2018-04-131-0/+37
* | Don't expose `Relation#preload_associations` in the docRyuta Kamizono2018-04-201-1/+1
|/
* don't check for immutability when setting skip_preloading as it doesn't effec...Lachlan Sylvester2018-04-121-2/+3
* Deprecate accessibility of private/protected class methods in named scopeRyuta Kamizono2018-03-301-0/+2
* Bring back private class methods accessibility in named scopeRyuta Kamizono2018-03-271-0/+7
* Only preload misses on multifetch cacheLachlan Sylvester2018-03-061-8/+13
* Add #create_or_find_by to lean on unique constraints (#31989)David Heinemeier Hansson2018-02-141-12/+42
* Rdoc formatting fix: <b> instead of MD-style asterisksT.J. Schuck2018-02-141-1/+1
* Avoid passing unnecessary arguments to relationDaniel Colson2018-01-241-1/+1
* Use `apply_join_dependency` instead of meaningless named `find_with_associati...Ryuta Kamizono2018-01-111-2/+2
* Using subselect for `delete_all` with `limit` or `offset`Ryuta Kamizono2017-12-191-4/+4
* Using subselect generated by the connection adapter for `update_all` with `of...Ryuta Kamizono2017-12-191-1/+1
* Fix inheritance object creation from relationRyuta Kamizono2017-12-131-8/+18
* Make `sanitize_sql_` methods publicyuuji.yaginuma2017-12-131-1/+1
* Revert "Merge pull request #31006 from rails/kamipo/ordinal_methods_should_re...eileencodes2017-11-261-1/+0
* Merge pull request #31006 from rails/kamipo/ordinal_methods_should_respect_lo...Eileen M. Uchitelle2017-11-251-0/+1
|\
| * Ordinal methods should respect loaded recordsRyuta Kamizono2017-10-281-0/+1
* | Avoid creating extra `relation` and `build_arel` in `_create_record` and `_up...Ryuta Kamizono2017-11-171-61/+0
* | Consolidate duplicated `to_ary`/`to_a` definitions in `Relation` and `Collect...Ryuta Kamizono2017-11-101-1/+2
* | Ensure `apply_join_dependency` for `update_all` and `delete_all` if eager-loa...Ryuta Kamizono2017-11-061-0/+10
|/
* 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