aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* activerecord: Fix statement cache for strictly cast attributesDylan Thacker-Smith2019-01-231-1/+1
* activerecord: Fix where nil condition on composed_of attributeDylan Thacker-Smith2019-01-181-4/+5
* All of queries should return correct result even if including large numberRyuta Kamizono2019-01-181-10/+0
* Use `unboundable?` rather than `boundable?`Ryuta Kamizono2019-01-181-7/+12
* Merge pull request #34963 from dylanahsmith/better-composed-of-single-field-q...Rafael França2019-01-171-8/+12
|\
| * Use public_send instead since respond_to? doesn't include private/protected m...Ryuta Kamizono2019-01-171-1/+1
| * Avoid using yield_self to make it easier to backportDylan Thacker-Smith2019-01-171-5/+4
| * activerecord: Use a simpler query condition for aggregates with one mappingDylan Thacker-Smith2019-01-171-8/+13
* | Do not allow passing the column name to `sum` when a block is passedRafael Mendonça França2019-01-171-6/+4
* | Do not allow passing the column name to `count` when a block is passedRafael Mendonça França2019-01-171-6/+4
* | Remove delegation of missing methods in a relation to arelRafael Mendonça França2019-01-171-4/+0
* | Remove delegation of missing methods in a relation to private methods of the ...Rafael Mendonça França2019-01-171-5/+0
|/
* Merge branch 'master' into ac_params_existsAaron Patterson2019-01-112-24/+5
|\
| * Consolidate the duplicated code that building range predicateRyuta Kamizono2019-01-082-24/+5
* | Allow strong params in ActiveRecord::Base#exists?Gannon McGibbon2019-01-071-0/+2
|/
* Make average compatible accross Ruby versionsAlberto Almagro2019-01-041-1/+1
* Fix TypeError: no implicit conversion of Arel::Attributes::Attribute into Str...Ryuta Kamizono2019-01-021-1/+1
* Module#{define_method,alias_method,undef_method,remove_method} become public ...Ryuta Kamizono2018-12-211-1/+1
* Fix the scoping with query methods in the scope blockRyuta Kamizono2018-11-301-1/+1
* Make implicit order column configurableTekin Suleyman2018-11-261-2/+2
* Arel: Implemented DB-aware NULL-safe comparison (#34451)Dmytro Shteflyuk2018-11-151-0/+4
* Ignore empty condition on #construct_relation_for_existsr7kamura2018-10-271-1/+1
* Lazy checking whether or not values in IN clause are boundableRyuta Kamizono2018-10-241-3/+2
* Don't expose internal `get_value`/`set_value` methodsRyuta Kamizono2018-10-181-10/+8
* Generate delegation methods to named scope in the definition timeRyuta Kamizono2018-10-091-0/+30
* Add `Style/RedundantFreeze` to remove redudant `.freeze`Yasuo Honda2018-09-293-6/+6
* Bugfix ActiveRecord::Relation#merge special case of from clauseBogdan Gusiev2018-09-281-3/+6
* Enable `Performance/UnfreezeString` copyuuji.yaginuma2018-09-231-2/+2
* Don't return the same object when using find with an empty arrayRafael Mendonça França2018-09-191-1/+1
* Fallback to unprepared statement only when bind params limit is exceededRyuta Kamizono2018-09-142-7/+3
* Eager loading/preloading should be worked regardless of large number of recordsRyuta Kamizono2018-09-122-5/+10
* Use `visitor.compile` instead of constructing by connection itselfRyuta Kamizono2018-09-091-1/+1
* Permit list usage cleanup and clearer documentationKevin Deisz2018-08-272-3/+3
* Convert over the rest of the whitelist referencesKevin Deisz2018-08-242-3/+3
* Fix merging relation that order including `?`Ryuta Kamizono2018-08-211-2/+2
* Use `Array#extract!` where possiblebogdanvlviv2018-08-141-2/+4
* Revert "Merge pull request #24131 from brchristian/limit_and_primary_key"Ryuta Kamizono2018-08-011-1/+1
* Extract `Relation#bind_attribute` for internal useRyuta Kamizono2018-07-301-8/+5
* Fix TypeError: no implicit conversion of Arel::Attributes::Attribute into StringBart de Water2018-07-281-1/+1
* Enable Start/EndWith and RegexpMatch copsBart de Water2018-07-281-1/+1
* don't impose primary key order if limit() is definedBrian Christian2018-07-191-1/+1
* Revert "Short circuit the scoping delegation for `relation.all`"Ryuta Kamizono2018-07-191-1/+0
* Use `construct_join_dependency` in all placesRyuta Kamizono2018-07-033-13/+6
* Ensure to calculate column aliases after all table aliases are constructedRyuta Kamizono2018-06-193-16/+12
* Fix GROUP BY queries to apply LIMIT/OFFSET after aggregationsRyuta Kamizono2018-06-071-1/+1
* Fix force equality checking not to break the serialized attribute with ArrayRyuta Kamizono2018-06-061-1/+0
* Make force equality checking more strictly not to allow serialized attributeRyuta Kamizono2018-05-251-5/+7
* `get_value` needs to be a public methodGraham Turner2018-04-251-4/+5
* Fix relation merging with skip_query_cache!James Williams2018-04-191-2/+2
* Merge pull request #32355 from kamipo/delegate_to_klass_in_a_scopeRafael França2018-04-061-0/+5
|\