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
Sean Griffin aebba01f43 Remove AttributeSet#initialized_keys
This method doesn't need to be lazy, as it is never called from reads.
The only time it is called are in write cases, where we're about to loop
through the results of it, and build the attribute objects anyway. So we
don't gain anything by dodging the instantiation here. This is the only
method that coupled `AttributeSet` to `LazyAttributeHash`, so removing
it puts us back in a place where we can use a normal hash instead.
2015-01-31 17:29:35 -07:00
..
associations Merge pull request #18700 from nygrenh/better-required-message 2015-01-31 14:10:23 -08:00
attribute_methods Remove most type related predicates from Column 2015-01-30 11:42:54 -07:00
attribute_set Remove AttributeSet#initialized_keys 2015-01-31 17:29:35 -07:00
coders Provide a better error message for unsupported classes in serialize 2014-12-27 19:49:09 -07:00
connection_adapters Remove most type related predicates from Column 2015-01-30 11:42:54 -07:00
fixture_set
locale
locking Go through normal where logic in destroy with locking 2015-01-14 15:25:15 -07:00
migration Merge pull request #16305 from tomkadwill/documented_change_table 2014-07-28 15:07:30 -03:00
railties Replace deprecated #load_schema with #load_schema_for. 2014-12-23 12:07:15 +01:00
relation Post.all.or(anything) == Post.all 2015-01-29 13:57:47 -07:00
scoping Follow the coding conventions 2014-11-12 15:11:36 +03:00
serializers Remove most type related predicates from Column 2015-01-30 11:42:54 -07:00
tasks Fix syntax warning 2014-12-23 09:13:56 -07:00
type Move integer range validation to never raise on assignment 2015-01-23 14:30:23 -07:00
type_caster Remove most uses of Column#cast_type 2015-01-30 10:38:44 -07:00
validations Remove most type related predicates from Column 2015-01-30 11:42:54 -07:00
aggregations.rb Improve the performance of reading attributes 2014-11-18 15:20:19 -08:00
association_relation.rb Inject the PredicateBuilder into the Relation instance 2014-12-26 13:53:56 -07:00
associations.rb Document has_many :extend option 2015-01-08 12:20:37 -06:00
attribute.rb Remove Relation#bind_params 2015-01-27 16:10:03 -07:00
attribute_assignment.rb Move method to private section 2015-01-26 08:17:53 -02:00
attribute_decorators.rb Stop using instance exec for type decorators 2014-06-27 11:33:32 -06:00
attribute_methods.rb Fix a typo "devleopment" => "development" 2015-01-25 16:07:54 +01:00
attribute_set.rb Remove AttributeSet#initialized_keys 2015-01-31 17:29:35 -07:00
attributes.rb Change 'a' to 'an' for 'attribute' word [ci skip] 2015-01-21 13:46:52 +05:30
autosave_association.rb Always perform validations on nested attribute associations 2015-01-30 07:27:20 -07:00
base.rb Add has_secure_token to Active Record 2015-01-04 11:31:37 -05:00
callbacks.rb Deprecate false as the way to halt AR callbacks 2015-01-02 15:31:56 -08:00
connection_handling.rb Check for Rails.env instead of Rails 2014-12-25 16:34:28 +03:00
core.rb Remove most type related predicates from Column 2015-01-30 11:42:54 -07:00
counter_cache.rb Improve consistency of counter caches updating in memory 2015-01-26 12:37:29 -07:00
dynamic_matchers.rb Remove support to activerecord-deprecated_finders 2015-01-02 12:06:24 -03:00
enum.rb Improve the performance of reading attributes 2014-11-18 15:20:19 -08:00
errors.rb Extracted ActiveRecord::AttributeAssignment to ActiveModel::AttributesAssignment 2015-01-23 23:43:22 +02:00
explain.rb Fixed typo in comment 2014-07-19 00:20:41 -07:00
explain_registry.rb
explain_subscriber.rb
fixtures.rb Remove most type related predicates from Column 2015-01-30 11:42:54 -07:00
gem_version.rb Start Rails 5 development 🎉 2014-11-28 15:00:06 -02:00
inheritance.rb Remove deprecated symbolized_base_class and symbolized_sti_name 2015-01-04 11:58:44 -03:00
integration.rb Use #model_name on instances instead of classes 2014-06-24 17:20:24 -07:00
log_subscriber.rb Remove Relation#bind_params 2015-01-27 16:10:03 -07:00
migration.rb Do not check only for the Rails constant 2015-01-02 00:45:09 -03:00
model_schema.rb Restore useful documentation removed at 2015-01-27 11:21:42 -02:00
nested_attributes.rb Always perform validations on nested attribute associations 2015-01-30 07:27:20 -07:00
no_touching.rb Add nodoc to touch at no_touching.rb 2014-12-29 14:14:46 -03:00
null_relation.rb Bring the implementation of Relation#or up to speed 2015-01-28 14:35:03 -07:00
persistence.rb Use 'public_send' over the 'send' method for object's properties. 2015-01-23 11:08:50 +05:30
query_cache.rb remove blank lines in the start of the ActiveRecord files 2014-07-29 02:51:08 +04:00
querying.rb Added #or to ActiveRecord::Relation 2015-01-28 13:35:55 -07:00
railtie.rb do not trigger AR lazy load hook before initializers ran. 2014-11-25 18:16:41 +01:00
readonly_attributes.rb Pass symbol as an argument instead of a block 2014-11-29 11:53:24 +01:00
reflection.rb remove deprecated support to preload instance-dependent associaitons. 2015-01-05 11:44:14 +01:00
relation.rb Remove Relation#bind_params 2015-01-27 16:10:03 -07:00
result.rb Revert "Improve performance of AR object instantiation" 2014-11-14 14:30:39 -07:00
runtime_registry.rb
sanitization.rb Stop passing a column to quote when finding by AR models 2015-01-10 15:45:46 -07:00
schema.rb remove blank lines in the start of the ActiveRecord files 2014-07-29 02:51:08 +04:00
schema_dumper.rb Improve a dump of the primary key support. 2014-12-29 09:19:21 +09:00
schema_migration.rb Extract AR::SchemaMigration.normalized_versions method 2014-06-27 20:16:21 +03:00
scoping.rb
secure_token.rb Fix Typo SecureToken for schema sample [ci skip] 2015-01-15 16:06:01 +01:00
serialization.rb Pass symbol as an argument instead of a block 2014-11-29 11:53:24 +01:00
statement_cache.rb Remove Relation#bind_params 2015-01-27 16:10:03 -07:00
store.rb Fix type case of "validations" and word-wrap from #17954 [ci skip] 2014-12-08 08:36:04 -08:00
table_metadata.rb Use an Attribute object to represent a bind value 2015-01-27 12:07:06 -07:00
timestamp.rb Fix warning: `*' interpreted as argument prefix 2014-12-28 16:05:53 +09:00
transactions.rb Use keyword args on committed! and rolledback! 2015-01-09 15:35:51 -05:00
translation.rb
type.rb Fix undesirable RangeError by Type::Integer. Add Type::UnsignedInteger. 2014-12-12 00:35:48 +09:00
type_caster.rb Extract an explicit type caster class 2014-12-29 11:07:56 -07:00
validations.rb AR specific length validator to respect marked_for_destruction. 2014-12-30 10:25:58 +01:00
version.rb