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
É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
..
associations Add has_one through disable_joins 2021-05-07 09:00:42 -04:00
attribute_methods Cache and reuse generated attribute methods 2021-05-03 09:27:59 +02:00
coders Fix ruby-master test suite (Psych 4.0.0) 2021-05-19 14:21:21 +02:00
connection_adapters Fix ruby-master test suite (Psych 4.0.0) 2021-05-19 14:21:21 +02:00
database_configurations chore: fix i.e. typos in Markdown and Ruby 2021-04-12 03:30:55 +10:00
encryption We want to check previous_types ignoring clean text type here 2021-04-22 08:03:48 -04:00
fixture_set
locale
locking
middleware Clarify require necessity for --minimal app 2021-05-10 10:35:57 +09:00
migration Active Record + PostgreSQL: native support for timestamp with time zone 2021-05-06 17:41:55 -05:00
railties Rename master_key => primary_key 2021-04-01 15:02:15 +02:00
relation Expose BatchEnumerator attributes 2021-05-28 13:32:48 -04:00
scoping Stop checking if ruby2_keywords is defined 2021-04-11 13:42:02 +02:00
tasks Enable Performance/MapCompact cop 2021-04-23 16:33:02 +09:00
type Simplify ActiveModel & ActiveRecord Type::Registry 2021-04-07 09:59:55 -04:00
type_caster
validations
aggregations.rb
association_relation.rb
associations.rb Add has_one through disable_joins 2021-05-07 09:00:42 -04:00
asynchronous_queries_tracker.rb
attribute_assignment.rb
attribute_methods.rb
attributes.rb
autosave_association.rb Revert "Only update dirty attributes once for cyclic autosave callbacks" 2021-04-29 11:01:06 -04:00
base.rb Initial extraction from active_record_encryption gem 2021-04-01 15:02:13 +02:00
callbacks.rb
connection_adapters.rb Register autload for Deduplicable 2021-04-28 03:37:07 +00:00
connection_handling.rb
core.rb Make ActiveRecord::Base.logger a class_attribute 2021-05-19 10:48:23 +02:00
counter_cache.rb
database_configurations.rb
delegated_type.rb Replace gsub with tr 2021-04-22 22:31:49 -03:00
destroy_association_async_job.rb
disable_joins_association_relation.rb Remove unused constant from disable_joins_association_relation 2021-04-19 22:26:33 -07:00
dynamic_matchers.rb
encryption.rb Add support for uniqueness validations 2021-04-01 15:02:15 +02:00
enum.rb
errors.rb Fix spelling in AsynchronousQueryInsideTransactionError docs [ci skip] 2021-04-13 09:17:47 -04:00
explain.rb
explain_registry.rb
explain_subscriber.rb
fixtures.rb
future_result.rb
gem_version.rb
inheritance.rb Autocorrect Rubocop roles 2021-04-13 18:32:25 +00:00
insert_all.rb Enable Performance/MapCompact cop 2021-04-23 16:33:02 +09:00
integration.rb
internal_metadata.rb
legacy_yaml_adapter.rb
log_subscriber.rb
migration.rb Fix add_foreign_key to prevent double prefix/suffix 2021-05-03 13:38:29 +09:00
model_schema.rb Compute table name based on model name 2021-05-12 12:34:56 -04:00
nested_attributes.rb Replace map + compact with filter_map 2021-04-22 22:08:34 -03:00
no_touching.rb
null_relation.rb Avoid running async queries on null relations 2021-05-17 21:34:41 +01:00
persistence.rb Fix error message on top level update when sending an array of records 2021-05-25 18:54:36 -03:00
query_cache.rb
querying.rb
railtie.rb Log a warning when running SQLite in production 2021-05-11 15:55:11 +02:00
readonly_attributes.rb
reflection.rb Derive foreign key from model name in has_many associations 2021-05-12 15:21:31 -04:00
relation.rb Improve performance of #one? and #many? 2021-05-13 19:50:14 +02:00
result.rb
runtime_registry.rb
sanitization.rb
schema.rb
schema_dumper.rb
schema_migration.rb
scoping.rb Use methods to get ScopeRegistry values rather than symbols 2021-04-02 12:14:57 -07:00
secure_token.rb
serialization.rb
signed_id.rb
statement_cache.rb
store.rb
suppressor.rb
table_metadata.rb
test_databases.rb
test_fixtures.rb Ensure variables are not nil in case enlist_fixture_connections is 2021-04-22 13:45:15 -04:00
timestamp.rb Enable Performance/MapCompact cop 2021-04-23 16:33:02 +09:00
touch_later.rb
transactions.rb Revert "Only update dirty attributes once for cyclic autosave callbacks" 2021-04-29 11:01:06 -04:00
translation.rb
type.rb
type_caster.rb
validations.rb
version.rb