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
Yuji Yaginuma b6d5e46311
Add environment as dependency of load_config (#31135)
Currently the environment is not loaded in some db tasks.
Therefore, if use encrypted secrets values in `database.yml`,
`read_encrypted_secrets` will not be true, so the value can not be
used correctly.

To fix this, added `environment` as dependency of `load_config`.
It also removes explicit `environment` dependencies that are no longer
needed.

Fixes #30717
2017-11-14 13:54:58 +09:00
..
associations Consolidate duplicated to_ary/to_a definitions in Relation and CollectionProxy 2017-11-10 23:33:39 +09:00
attribute_methods Move Attribute and AttributeSet to ActiveModel 2017-11-09 14:29:39 -05:00
coders Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
connection_adapters Add new error class StatementTimeout which will be raised when statement timeout exceeded (#31129) 2017-11-13 20:15:16 +09:00
fixture_set Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
locale
locking Rase when calling lock! in a dirty record 2017-10-23 12:50:46 -04:00
migration compatibility - use int instead of bigint 2017-10-18 00:55:44 +02:00
railties Add environment as dependency of load_config (#31135) 2017-11-14 13:54:58 +09:00
relation Merge pull request #30980 from sobrinho/sobrinho/arel-star-ignored-columns 2017-11-13 15:27:59 -05:00
scoping scoping should respect current class and STI constraint (#29199) 2017-11-06 08:29:40 +09:00
tasks Merge pull request #30414 from bogdanvlviv/clear-mysql_database_tasks 2017-11-09 17:21:37 -05:00
type Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
type_caster Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
validations remove incorrect statement about serializable transactions 2017-10-25 19:52:21 -07:00
aggregations.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
association_relation.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
associations.rb Remove unused classes 2017-11-03 10:18:33 +09:00
attribute_assignment.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
attribute_decorators.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
attribute_methods.rb removed unnecessary returns 2017-10-28 17:20:38 +09:00
attributes.rb Move Attribute and AttributeSet to ActiveModel 2017-11-09 14:29:39 -05:00
autosave_association.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
base.rb [Active Record] require => require_relative 2017-10-21 22:48:27 +09:00
callbacks.rb Remove deprecated :if and :unless string filter for callbacks 2017-10-23 12:51:04 -04:00
collection_cache_key.rb Ensure apply_join_dependency for collection_cache_key if eager-loading is needed 2017-11-06 03:34:15 +09:00
connection_handling.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
core.rb Remove deprecated configuration .error_on_ignored_order_or_limit 2017-10-23 12:50:47 -04:00
counter_cache.rb removed unnecessary returns 2017-10-28 17:20:38 +09:00
define_callbacks.rb Use tt in doc for ActiveRecord [ci skip] 2017-08-27 14:01:29 +09:00
dynamic_matchers.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
enum.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
errors.rb Add new error class StatementTimeout which will be raised when statement timeout exceeded (#31129) 2017-11-13 20:15:16 +09:00
explain.rb [Active Record] require => require_relative 2017-10-21 22:48:27 +09:00
explain_registry.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
explain_subscriber.rb [Active Record] require => require_relative 2017-10-21 22:48:27 +09:00
fixtures.rb [Active Record] require => require_relative 2017-10-21 22:48:27 +09:00
gem_version.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
inheritance.rb Update links to use https instead of http [ci skip] 2017-08-22 11:43:33 +09:00
integration.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
internal_metadata.rb [Active Record] require => require_relative 2017-10-21 22:48:27 +09:00
legacy_yaml_adapter.rb Move Attribute and AttributeSet to ActiveModel 2017-11-09 14:29:39 -05:00
log_subscriber.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
migration.rb Merge pull request #30773 from y-yagi/fix_30765 2017-11-12 19:18:49 -05:00
model_schema.rb Move Attribute and AttributeSet to ActiveModel 2017-11-09 14:29:39 -05:00
nested_attributes.rb Add update_only example to AR nested attributes doc [ci_skip] 2017-10-03 08:54:10 -03:00
no_touching.rb Use tt in doc for ActiveRecord [ci skip] 2017-08-27 14:01:29 +09:00
null_relation.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
persistence.rb Merge pull request #30471 from dylanahsmith/remove-redundant-tracker 2017-09-27 11:07:12 -07:00
query_cache.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
querying.rb Place class level update, destroy, and delete in Persistence::ClassMethods 2017-09-18 08:12:59 +09:00
railtie.rb [Active Record] require => require_relative 2017-10-21 22:48:27 +09:00
readonly_attributes.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
reflection.rb source_type_scope should respect correct table alias 2017-10-30 22:06:12 +09:00
relation.rb Consolidate duplicated to_ary/to_a definitions in Relation and CollectionProxy 2017-11-10 23:33:39 +09:00
result.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
runtime_registry.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
sanitization.rb Properly cast input in update_all 2017-11-13 13:31:46 -07:00
schema.rb Prefer formatted number as schema version [ci skip] 2017-08-21 02:05:45 +09:00
schema_dumper.rb Implement PostgreSQL::SchemaDumper#extensions 2017-10-25 15:53:09 +00:00
schema_migration.rb [Active Record] require => require_relative 2017-10-21 22:48:27 +09:00
scoping.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
secure_token.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
serialization.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
statement_cache.rb Passing klass to StatementCache.new 2017-08-04 02:27:50 +09:00
store.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
suppressor.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
table_metadata.rb Changed join_fk private method to join_foreign_key public method 2017-08-09 11:18:27 +05:30
timestamp.rb [Action Record] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
touch_later.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
transactions.rb Remove deprecated :if and :unless string filter for callbacks 2017-10-23 12:51:04 -04:00
translation.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
type.rb [Active Record] require => require_relative 2017-10-21 22:48:27 +09:00
type_caster.rb [Active Record] require => require_relative 2017-10-21 22:48:27 +09:00
validations.rb [Active Record] require => require_relative 2017-10-21 22:48:27 +09:00
version.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00