Skip to content
Latest commit dffbba1 Apr 20, 2016 @kbrock kbrock schema_load triggers 2nd schema_load (via locking)
Currently, loading the schema (schema_load)
accesses the locking column (locking_column)
which defaults the value (reset_locking_column)
which invalidates the schema (reload_schema_from_cache)
which forces another schema load.

Good news:
The second schema_load does accesses locking_column,
but locking_column is set, so it does not reset_locking_column
and it does not trigger an infinite loop.

The solution is not invalidate the cache while default locking_column
..
Failed to load latest commit information.
associations Allow symbols using "dot notation" to be passed to where Apr 12, 2016
attribute Memoize user provided defaults before type casting Mar 24, 2016
attribute_methods Fix a tip in Active Record time attributes deprecation Mar 24, 2016
attribute_set Implement equality comparison on `AttributeSet` and friends Oct 6, 2015
coders Clean up the implementation of AR::Dirty Sep 24, 2015
connection_adapters Merge pull request #24730 from vipulnsward/move-savepoints Apr 25, 2016
fixture_set provide file name for fixture ERB Mar 30, 2016
locale Deprecate and rename the keys for association restrict_dependent_destroy Jul 20, 2015
locking schema_load triggers 2nd schema_load (via locking) Apr 28, 2016
migration Update compatibility.rb Mar 26, 2016
railties issue FileUtils commands directly in Rake tasks Apr 11, 2016
relation Merge pull request #24317 from Gaurav2728/unused_set_in_active_record Apr 19, 2016
scoping Execute default_scope defined by abstract class within the scope of s… Mar 8, 2016
tasks Added notice when a database is successfully created or dropped. Apr 17, 2016
type Add `quoted_time` for truncating the date part of a time column value Apr 14, 2016
type_caster docs, `ActiveRecord::TypeCaster` is not part of the public API. Nov 7, 2015
validations Merge pull request #23523 from kamipo/avoid_truncation_in_uniqueness_… Apr 18, 2016
aggregations.rb reflect mapping to match initialize Jan 25, 2016
association_relation.rb Mutating the result of Relation#to_a should not affect the relation Feb 21, 2016
associations.rb Merge pull request #24672 from mrkjlchvz/mc-space-bump Apr 21, 2016
attribute.rb Further encapsulate dirty checking on `Attribute` Oct 2, 2015
attribute_assignment.rb Addresses #23568 Feb 9, 2016
attribute_decorators.rb Attribute assignment and type casting has nothing to do with columns Jan 31, 2015
attribute_methods.rb Remove unused class AttributeMethodCache Feb 2, 2016
attribute_mutation_tracker.rb Add Singleton in NullMutationTracker class Oct 3, 2015
attribute_set.rb Implement equality comparison on `AttributeSet` and friends Oct 6, 2015
attributes.rb make attributes API example to work [ci skip] Mar 6, 2016
autosave_association.rb A small documentation fix about autosave associations [ci skip] Mar 5, 2016
base.rb Highlight the dynamic method finder 'find_by_' [ci skip] Mar 26, 2016
callbacks.rb Fix grammar `a` to `an` [ci skip] Feb 13, 2016
collection_cache_key.rb Address ORA-00923 error by quoting a reserved word "SIZE" Apr 16, 2016
connection_handling.rb Remove legacy mysql adapter Dec 21, 2015
core.rb Pass over all Rails 5 warnings, to make sure: Apr 12, 2016
counter_cache.rb Pluralize counter_cache column name in example [ci skip] Jan 20, 2016
dynamic_matchers.rb Revert "Merge pull request #20080 from robertjlooby/fix_overwriting_b… Sep 9, 2015
enum.rb This code won't work Mar 6, 2016
errors.rb Merge pull request #23522 from kamipo/add_value_too_long_exception_class Apr 18, 2016
explain.rb Fixed typo in comment Jul 19, 2014
explain_registry.rb applies new doc guidelines to Active Record. Oct 14, 2015
explain_subscriber.rb typo Oct 20, 2015
fixtures.rb Refer to rails command instead of rake in a bunch of places Dec 18, 2015
gem_version.rb Prep Rails 5 beta 4 Apr 27, 2016
inheritance.rb Defer Arel attribute lookup to the model class Feb 4, 2016
integration.rb fixes #21815 Oct 16, 2015
internal_metadata.rb Rename `active_record_internal_metadatas` to `ar_internal_metadata` Feb 1, 2016
legacy_yaml_adapter.rb Add YAML compatibility for objects from Rails 4.2 Mar 10, 2015
log_subscriber.rb Removes potentially quadratic Regexp from ActiveRecord::LogSubscriber… Feb 23, 2016
migration.rb Cleanup message shown while running destructive action against protec… Apr 10, 2016
model_schema.rb Revert "Deprecate table names containing dots" Mar 31, 2016
nested_attributes.rb Merge branch 'master' of github.com:rails/docrails Mar 6, 2016
no_touching.rb Add nodoc to touch at no_touching.rb Dec 29, 2014
null_relation.rb Mutating the result of Relation#to_a should not affect the relation Feb 20, 2016
persistence.rb Fix a small template misrender in ActiveRecord::Persistence Mar 2, 2016
query_cache.rb Do not attempt to return connection with open transaction to pool (#2… Apr 22, 2016
querying.rb Delegate some additional methods in querying.rb Mar 30, 2016
railtie.rb Revert "Ensure `config.active_record.time_zone_aware_types` is always… Mar 24, 2016
readonly_attributes.rb Pass symbol as an argument instead of a block Nov 29, 2014
reflection.rb Pass over all Rails 5 warnings, to make sure: Apr 11, 2016
relation.rb Pass over all Rails 5 warnings, to make sure: Apr 11, 2016
result.rb applies new doc guidelines to Active Record. Oct 14, 2015
runtime_registry.rb applies new doc guidelines to Active Record. Oct 14, 2015
sanitization.rb Fix grammar `a` to `an` [ci skip] Feb 13, 2016
schema.rb Use hash like syntax for InternalMetadata Jan 8, 2016
schema_dumper.rb Dump indexes in `create_table` for generates SQL in one query Apr 20, 2016
schema_migration.rb Avoid extra `show variables` in migration Feb 1, 2016
scoping.rb Active scopes apply to child classes, though not parents/siblings Jan 12, 2016
secure_token.rb Revert "Merge pull request #20835 from glittershark/if-and-unless-in-… Jan 14, 2016
serialization.rb applies new doc guidelines to Active Record. Oct 14, 2015
statement_cache.rb Ensure prepared statement caching still occurs with Adequate Record Feb 11, 2016
store.rb applies new doc guidelines to Active Record. Oct 14, 2015
suppressor.rb Ensure suppressor runs before validations Feb 24, 2016
table_metadata.rb Defer Arel attribute lookup to the model class Feb 3, 2016
timestamp.rb [ci skip] Add note about tsrange and timezone awareness to docs Jan 22, 2016
touch_later.rb Make sure we touch all the parents when touch_later. Dec 6, 2015
transactions.rb Fix the API documentation layout of after_*_commit Jan 20, 2016
translation.rb Split out most of the AR::Base code into separate modules :cake: Dec 15, 2011
type.rb chage `date_time` type ` to `datetime` Mar 6, 2016
type_caster.rb docs, `ActiveRecord::TypeCaster` is not part of the public API. Nov 7, 2015
validations.rb Fix grammar `a` to `an` [ci skip] Feb 13, 2016
version.rb Introduce `Rails.gem_version` Mar 5, 2014
Something went wrong with that request. Please try again.