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
Benjamin Quorning e4701e613c [] and read_attribute are not aliases [ci skip]
The `#[]` method *used to be* an alias of `#read_attribute`, but since Rails 4
(10f6f90d9d), it will raise an exception for
missing attributes. Saying that it is an alias is confusing.
2016-05-24 13:20:28 +02:00
..
associations Merge pull request #24862 from maclover7/jm-ar-fixes 2016-05-21 12:47:39 -03:00
attribute Memoize user provided defaults before type casting 2016-03-24 14:58:23 -06:00
attribute_methods Support for unified Integer class in Ruby 2.4+ 2016-05-18 21:58:51 -07:00
attribute_set Implement equality comparison on AttributeSet and friends 2015-10-06 08:52:28 -06:00
coders Fix bug in JSON deserialization when column default is an empty string 2016-02-22 17:59:51 +01:00
connection_adapters Add AR::TransactionSerializationError for transaction serialization failures or deadlocks 2016-05-21 21:51:52 +08:00
fixture_set provide file name for fixture ERB 2016-03-30 12:32:39 +03:00
locale
locking Move comment up to the class, for both of the methods, and document on class level why we are doing this. 2016-05-01 02:44:52 +05:30
migration Add migration compatibility class for Rails 5.1 2016-05-10 03:46:56 -03:00
railties issue FileUtils commands directly in Rake tasks 2016-04-11 16:55:05 +02:00
relation Support for unified Integer class in Ruby 2.4+ 2016-05-18 21:58:51 -07:00
scoping Execute default_scope defined by abstract class within the scope of subclass 2016-03-08 14:56:00 +02:00
tasks s/specification_name/connection_specification_name 2016-05-06 13:22:49 -05:00
type Fix false positive mutation detection when JSON is used with serialize 2016-05-12 09:09:47 -04:00
type_caster docs, ActiveRecord::TypeCaster is not part of the public API. 2015-11-07 12:26:09 -05:00
validations Merge pull request #23523 from kamipo/avoid_truncation_in_uniqueness_validation 2016-04-18 17:53:22 -07:00
aggregations.rb reflect mapping to match initialize 2016-01-25 20:56:42 -08:00
association_relation.rb Mutating the result of Relation#to_a should not affect the relation 2016-02-21 03:28:18 +10:30
associations.rb Merge pull request #24672 from mrkjlchvz/mc-space-bump 2016-04-21 10:51:47 -03:00
attribute.rb Define ActiveRecord::Attribute::Null#type_cast 2016-05-11 13:21:01 -04:00
attribute_assignment.rb Support for unified Integer class in Ruby 2.4+ 2016-05-18 21:58:51 -07:00
attribute_decorators.rb
attribute_methods.rb [] and read_attribute are not aliases [ci skip] 2016-05-24 13:20:28 +02:00
attribute_mutation_tracker.rb Add Singleton in NullMutationTracker class 2015-10-03 16:11:02 +02:00
attribute_set.rb Implement equality comparison on AttributeSet and friends 2015-10-06 08:52:28 -06:00
attributes.rb - Be consistent in providing file locations of schema, model and initializer 2016-04-13 12:00:07 +05:30
autosave_association.rb A small documentation fix about autosave associations [ci skip] 2016-03-05 08:02:58 +02:00
base.rb Highlight the dynamic method finder 'find_by_' [ci skip] 2016-03-26 14:07:45 +05:30
callbacks.rb Change to use a more realistic example and not giving the impression that destroy_all is preferred way to destroy related records. 2016-05-05 15:30:21 -05:00
collection_cache_key.rb Address ORA-00923 error by quoting a reserved word "SIZE" 2016-04-16 10:02:49 +00:00
connection_handling.rb remove_connection should not remove parent connection 2016-05-11 13:39:26 -04:00
core.rb s/specification_name/connection_specification_name 2016-05-06 13:22:49 -05:00
counter_cache.rb Pluralize counter_cache column name in example [ci skip] 2016-01-20 11:58:11 +05:30
dynamic_matchers.rb
enum.rb This code won't work 2016-03-06 12:15:12 +09:00
errors.rb Add AR::TransactionSerializationError for transaction serialization failures or deadlocks 2016-05-21 21:51:52 +08:00
explain.rb
explain_registry.rb applies new doc guidelines to Active Record. 2015-10-14 17:40:00 +02:00
explain_subscriber.rb typo 2015-10-20 22:58:50 -07:00
fixtures.rb Refer to rails command instead of rake in a bunch of places 2015-12-18 13:01:10 +01:00
gem_version.rb Start Rails 5.1 development 🎉 2016-05-10 03:46:56 -03:00
inheritance.rb Defer Arel attribute lookup to the model class 2016-02-04 08:02:45 +10:30
integration.rb fixes #21815 2015-10-16 15:09:45 +02:00
internal_metadata.rb update record specified in key 2016-04-27 10:33:27 +09:00
legacy_yaml_adapter.rb
log_subscriber.rb Fix ActiveRecord::LogSubscriber edge case 2016-05-10 15:42:07 -04:00
migration.rb Add missing space and newline for clarity 2016-05-12 20:59:38 -07:00
model_schema.rb s/statment/statement/ 2016-04-24 16:24:19 +05:30
nested_attributes.rb Merge branch 'master' of github.com:rails/docrails 2016-03-06 06:58:36 +00:00
no_touching.rb
null_relation.rb Mutating the result of Relation#to_a should not affect the relation 2016-02-21 03:28:18 +10:30
persistence.rb Fix a small template misrender in ActiveRecord::Persistence 2016-03-02 23:32:52 +02:00
query_cache.rb Do not attempt to return connection with open transaction to pool (#24610) 2016-04-22 12:56:43 -06:00
querying.rb Do not delegate AR::Base#empty? to all 2016-05-02 16:36:17 -05:00
railtie.rb Revert "Ensure config.active_record.time_zone_aware_types is always set" 2016-03-24 21:00:54 -03:00
readonly_attributes.rb
reflection.rb Pass over all Rails 5 warnings, to make sure: 2016-04-12 02:26:56 +05:30
relation.rb Pass over all Rails 5 warnings, to make sure: 2016-04-12 02:26:56 +05:30
result.rb applies new doc guidelines to Active Record. 2015-10-14 17:40:00 +02:00
runtime_registry.rb applies new doc guidelines to Active Record. 2015-10-14 17:40:00 +02:00
sanitization.rb Fix grammar a to an [ci skip] 2016-02-13 20:44:44 +09:00
schema.rb Use hash like syntax for InternalMetadata 2016-01-08 09:27:25 -06:00
schema_dumper.rb Remove magic comment in generated schema.rb 2016-05-12 05:43:08 +09:00
schema_migration.rb Avoid extra show variables in migration 2016-02-01 13:05:47 +09:00
scoping.rb Active scopes apply to child classes, though not parents/siblings 2016-01-12 05:43:58 +10:30
secure_token.rb Revert "Merge pull request #20835 from glittershark/if-and-unless-in-secure-token" 2016-01-14 21:52:03 +01:00
serialization.rb applies new doc guidelines to Active Record. 2015-10-14 17:40:00 +02:00
statement_cache.rb Ensure prepared statement caching still occurs with Adequate Record 2016-02-11 08:54:58 -07:00
store.rb applies new doc guidelines to Active Record. 2015-10-14 17:40:00 +02:00
suppressor.rb Keep state around for nested calls to #suppress 2016-05-16 14:07:32 -04:00
table_metadata.rb Defer Arel attribute lookup to the model class 2016-02-04 08:02:45 +10:30
timestamp.rb [ci skip] Add note about tsrange and timezone awareness to docs 2016-01-22 14:35:52 +03:00
touch_later.rb Make sure we touch all the parents when touch_later. 2015-12-06 16:53:00 -05:00
transactions.rb Fix the API documentation layout of after_*_commit 2016-01-20 18:21:46 +02:00
translation.rb
type.rb chage date_time type to datetime` 2016-03-06 08:41:43 +09:00
type_caster.rb docs, ActiveRecord::TypeCaster is not part of the public API. 2015-11-07 12:26:09 -05:00
validations.rb Fix grammar a to an [ci skip] 2016-02-13 20:44:44 +09:00
version.rb