1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/active_record/relation
Étienne Barrié a031a43d96 Expose BatchEnumerator attributes
BatchEnumerator is a simple object storing a few parameters coming from
ActiveRecord::Batches#in_batches when it's called without a block.

Sometimes, it's useful to access those values, in our case, a library
receiving a BatchEnumerator from application code.

Co-authored-by: Adrianna Chang <adrianna.chang@shopify.com>
2021-05-28 13:32:48 -04:00
..
batches Expose BatchEnumerator attributes 2021-05-28 13:32:48 -04:00
predicate_builder Fix where on polymorphic association with empty array 2021-01-09 13:33:57 +09:00
batches.rb Simplify apply_{start,finish}_limit 2020-07-25 09:38:00 +09:00
calculations.rb Allow Relation#sum to take an init parameters 2021-05-10 13:37:25 +02:00
delegation.rb Add option to skip joins for associations. 2021-04-19 11:17:31 -04:00
finder_methods.rb Handle Relations with having clauses in #include? 2021-02-12 01:04:39 +01:00
from_clause.rb Merge pull request #38145 from sinsoku/avoid_assigning_the_same_value_to_join_values 2020-01-04 21:31:36 +09:00
merger.rb Fix merging select values from a different model's relation 2021-03-09 08:12:28 +09:00
predicate_builder.rb Avoid extra BindParam allocation to generate placeholder in queries 2021-03-02 18:09:05 +09:00
query_attribute.rb Don't use type.cast(value) to emulate unchecked serialized value in unboundable? 2021-03-15 12:23:40 +09:00
query_methods.rb Enhancement: refactor and add tests to the query methods argument errors 2021-05-23 15:16:09 -03:00
record_fetch_warning.rb Move records and loaded ivar up to load 2019-12-10 14:15:11 -05:00
spawn_methods.rb Reduce the number of times we look up the ScopeRegistry 2021-04-02 12:31:05 -07:00
where_clause.rb Fix WhereClause#extract_attributes to work it with a string where clause 2021-03-23 10:47:10 +09:00