rails/activerecord/lib/active_record
Kir Shatrov 8312a0d222 Deprecate reflection class name to accept a class
The idea of `class_name` as an option of reflection is that passing a
string would allow us to lazy autoload the class.

Using `belongs_to :client, class_name: Customer` is eagerloading models more than necessary
and creating possible circular dependencies.
2017-01-09 13:08:33 -05:00
..
associations self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
attribute Describe what we are protecting 2016-12-23 23:48:54 +09:00
attribute_methods self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
attribute_set Describe what we are protecting 2016-12-23 23:48:54 +09:00
coders let Regexp#match? be globally available 2016-10-27 09:13:55 +02:00
connection_adapters Optimizing information_schema query for foreign_keys 2017-01-05 14:36:48 +09:00
fixture_set Throw friendly error message when fixture is not a hash 2016-12-15 17:07:58 -05:00
locale Deprecate and rename the keys for association restrict_dependent_destroy 2015-07-20 23:19:43 -04:00
locking No need to nodoc private methods 2016-12-24 23:39:36 +09:00
migration Raises when ActiveRecord::Migration is inherited directly. 2016-12-29 17:53:04 -05:00
railties Remove deprecated db:test:clone* tasks 2017-01-03 19:10:31 -05:00
relation Privatize unneededly protected methods in Active Record 2017-01-05 20:01:02 +09:00
scoping Fix Rubocop violations and fix documentation visibility 2016-12-28 21:53:51 -05:00
tasks Remove unneeded requires at active record 2017-01-03 19:42:36 -05:00
type Describe what we are protecting 2016-12-23 23:48:54 +09:00
type_caster Describe what we are protecting 2016-12-23 23:48:54 +09:00
validations No need :doc: for :nodoc: classes [ci skip] 2016-12-25 02:46:12 +09:00
aggregations.rb No need to nodoc private methods 2016-12-24 23:39:36 +09:00
association_relation.rb Ensure that inverse associations are set before running callbacks 2016-08-31 09:26:25 -04:00
associations.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
attribute_assignment.rb No need to nodoc private methods 2016-12-24 23:39:36 +09:00
attribute_decorators.rb Add some documentation around internal APIs [ci skip] 2016-12-08 13:13:51 -05:00
attribute_methods.rb Privatize unneededly protected methods in Active Record 2017-01-05 20:01:02 +09:00
attribute_mutation_tracker.rb Describe what we are protecting 2016-12-23 23:48:54 +09:00
attribute_set.rb Describe what we are protecting 2016-12-23 23:48:54 +09:00
attribute.rb No need :doc: for :nodoc: classes [ci skip] 2016-12-25 02:46:12 +09:00
attributes.rb Make the second argument to attribute optional 2016-11-30 12:47:31 -05:00
autosave_association.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
base.rb Deprecate the behavior of AR::Dirty inside of after_(create|update|save) callbacks 2016-11-01 13:16:33 -04:00
callbacks.rb Merge pull request #27294 from eavgerinos/doc-ar-callbacks-order 2017-01-06 04:39:31 -05:00
collection_cache_key.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
connection_handling.rb fixes remaining RuboCop issues [Vipul A M, Xavier Noria] 2016-09-01 23:41:49 +02:00
core.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
counter_cache.rb Counter cache touching don't need object finding anymore 2017-01-03 04:42:56 +09:00
define_callbacks.rb Fix style violations 2016-11-14 13:18:31 -05:00
dynamic_matchers.rb let Regexp#match? be globally available 2016-10-27 09:13:55 +02:00
enum.rb Describe what we are protecting 2016-12-23 23:48:54 +09:00
errors.rb Remove original_exception from ActiveRecord::StatementInvalid 2016-12-29 17:53:04 -05:00
explain_registry.rb applies new string literal convention in activerecord/lib 2016-08-06 18:26:45 +02:00
explain_subscriber.rb Preserve cached queries name in AS notifications 2016-09-22 15:30:45 +02:00
explain.rb We're not calling hooks here since 9e4c41c903e8e58721f2c41776a8c60ddba7a0a9 2016-11-25 22:28:40 +09:00
fixtures.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
gem_version.rb Start Rails 5.1 development 🎉 2016-05-10 03:46:56 -03:00
inheritance.rb Cache results of computing model type 2017-01-03 19:02:38 +05:00
integration.rb Add missing + around a some literals. 2016-10-27 00:27:47 +03:00
internal_metadata.rb #tables and #table_exists? and returns only tables and not views 2016-12-29 17:53:04 -05:00
legacy_yaml_adapter.rb Make Active Record emit significantly smaller YAML 2016-05-31 14:58:43 -04:00
log_subscriber.rb Use old typecasting method if no type casted binds are passed in 2016-10-20 09:27:14 -07:00
migration.rb Preserve up and down return type 2017-01-06 13:30:42 -06:00
model_schema.rb Add missing + around a some literals. 2016-10-27 00:27:47 +03:00
nested_attributes.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
no_touching.rb Makes touch_later respects no_touching policy 2016-08-16 15:20:50 +02:00
null_relation.rb Refactor NullRelation#calculate 2016-11-16 02:42:24 +09:00
persistence.rb [ci skip] Find and record the article! 🤓 2017-01-03 21:57:39 +01:00
query_cache.rb Configure query caching (per thread) on the connection pool 2016-11-06 02:19:57 -05:00
querying.rb Ensure that inverse associations are set before running callbacks 2016-08-31 09:26:25 -04:00
railtie.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
readonly_attributes.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
reflection.rb Deprecate reflection class name to accept a class 2017-01-09 13:08:33 -05:00
relation.rb Remove deprecation of using ActiveRecord::Base instance in .update 2017-01-03 19:22:52 -05:00
result.rb Add Type.default_value and use it everywhere for internal 2016-08-26 02:14:06 +09:00
runtime_registry.rb applies new string literal convention in activerecord/lib 2016-08-06 18:26:45 +02:00
sanitization.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
schema_dumper.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
schema_migration.rb #tables and #table_exists? and returns only tables and not views 2016-12-29 17:53:04 -05:00
schema.rb No need to nodoc private methods 2016-12-24 23:39:36 +09:00
scoping.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
secure_token.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
serialization.rb applies new doc guidelines to Active Record. 2015-10-14 17:40:00 +02:00
statement_cache.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
store.rb Privatize unneededly protected methods in Active Record 2016-12-24 23:39:36 +09:00
suppressor.rb Keep state around for nested calls to #suppress 2016-05-16 14:07:32 -04:00
table_metadata.rb Adds .to_s to table_name call 2017-01-06 17:59:30 -06:00
timestamp.rb Push current_time_from_proper_timezone and timestamp attributes methods up to class method 2017-01-03 04:34:43 +09:00
touch_later.rb Deprecate the behavior of AR::Dirty inside of after_(create|update|save) callbacks 2016-11-01 13:16:33 -04:00
transactions.rb Remove deprecated #raise_in_transactional_callbacks configuration 2016-12-29 17:53:04 -05:00
translation.rb
type_caster.rb applies new string literal convention in activerecord/lib 2016-08-06 18:26:45 +02:00
type.rb Fix test breaking error uninitialized constant ActiveRecord::Type::Value. 2016-12-08 21:46:17 +01:00
validations.rb Fix Rubocop violations and fix documentation visibility 2016-12-28 21:53:51 -05:00
version.rb applies new string literal convention in activerecord/lib 2016-08-06 18:26:45 +02:00