aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation.rb
Commit message (Expand)AuthorAgeFilesLines
* document update_counters on relation [ci skip]Guilherme Mansur2019-05-111-1/+13
* Remove useless `set_value` / `get_value` helper methodsRyuta Kamizono2019-04-221-2/+2
* Revert "Deprecate `collection_cache_key` which is private API"Ryuta Kamizono2019-04-191-1/+1
* Deprecate `collection_cache_key` which is private APIRyuta Kamizono2019-04-191-1/+3
* Add collection cache versioningLachlan Sylvester2019-04-161-15/+36
* There is no need to check `null_relation?` in `empty_scope?`Ryuta Kamizono2019-04-061-1/+1
* Association loading isn't to be affected by null relation scopingRyuta Kamizono2019-04-061-2/+6
* Refactor `Relation#cache_key` is moved from `CollectionCacheKey#collection_ca...Ryuta Kamizono2019-04-041-0/+45
* Revert unused code and re-using query annotation for `update_all` and `delete...Ryuta Kamizono2019-04-011-3/+0
* Add Relation#annotate for SQL commentingMatt Yoho2019-03-211-1/+4
* update_at/on note for ActiveRecord::Relation.update_all (#35461)Orhan Toy2019-03-191-2/+4
* Support Optimizer HintsRyuta Kamizono2019-03-161-1/+1
* [skip ci] Rails 5.1+ supports bigint primary keyYasuo Honda2019-03-131-1/+1
* Document int Primary Key with create_or_find_by (#35573)Alex Kitchens2019-03-121-0/+4
* Ensure `update_all` series cares about optimistic lockingRyuta Kamizono2019-02-251-10/+15
* Introduce delete_by and destroy_by methods to ActiveRecord::RelationAbhay Nikam2019-02-191-0/+26
* Deprecate using class level querying methods if the receiver scope regarded a...Ryuta Kamizono2019-02-151-5/+38
* Revert "Merge pull request #35186 from kamipo/fix_leaking_scope_on_relation_c...Ryuta Kamizono2019-02-151-11/+2
* Revert "Chaining named scope is no longer leaking to class level querying met...Ryuta Kamizono2019-02-141-2/+2
* Refactor extracting `current_scope_restoring_block` into the scoping classRyuta Kamizono2019-02-081-5/+1
* Fix `relation.create` to avoid leaking scope to initialization block and call...Ryuta Kamizono2019-02-071-2/+15
* Refactor around scopingRyuta Kamizono2019-02-071-2/+9
* Chaining named scope is no longer leaking to class level querying methodsRyuta Kamizono2019-02-061-1/+1
* Refactor `bind_attribute` to expand an association to actual attributeRyuta Kamizono2019-01-111-0/+5
* #create_or_find_by/!: add more tests and fix docs (#34653)Bogdan2018-12-081-2/+2
* Move UPDATE/DELETE with JOIN handling to the Arel sideRyuta Kamizono2018-10-031-26/+12
* Handle UPDATE/DELETE with OFFSET in ArelRyuta Kamizono2018-10-011-2/+4
* Handle DELETE with LIMIT in ArelRyuta Kamizono2018-09-301-1/+4
* Extract `Arel.arel_node?` helper methodRyuta Kamizono2018-09-281-1/+1
* Make `update_counters` preparableRyuta Kamizono2018-09-281-9/+14
* Make `update_all` preparableRyuta Kamizono2018-09-281-2/+14
* Use table name qualified column name for update countersRyuta Kamizono2018-09-161-9/+7
* 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