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
eileencodes ce629d9ff3
Remove database kwarg from connected_to
The `database` kwarg was deprecated in #37874. It shouldn't be used by
apps even before the deprecation because it's kind of dangerous to use
in a request. Also it makes the `connected_to` method really ugly.

Co-authored-by: John Crepezzi <john.crepezzi@gmail.com>
2020-11-03 16:28:11 -05:00
..
associations Fix regression when setting the invesion of a belongs_to relationship 2020-11-03 20:49:07 +00:00
attribute_methods Merge pull request #40456 from kamipo/attribute_for_database 2020-10-30 09:53:18 +09:00
coders Update rubocop-performance gem and enable Performance/DeletePrefix and Performance/DeleteSuffix cops 2020-05-24 12:51:35 +03:00
connection_adapters Merge pull request #40421 from ayamomiji/master 2020-11-02 20:09:34 +00:00
database_configurations Address to false negative for Performance/DeletePrefix,DeleteSuffix 2020-06-14 13:04:47 +09:00
fixture_set Use join_foreign_key rather than self constructed key name 2020-07-03 18:58:44 +09:00
locale
locking Use attribute_before_type_cast in the internal 2020-10-27 16:38:32 +09:00
middleware Make AR::Middleware::DatabaseSelector loadable without full core ext 2020-06-09 19:43:50 +09:00
migration Optimise length of default index name for polymorphic references 2020-10-30 00:33:39 +00:00
railties Avoid setting ActiveRecord::Base.configurations twice in db rake tasks. 2020-09-04 13:51:29 +08:00
relation where.not now generates NAND predicates instead of NOR 2020-10-30 00:25:35 +00:00
scoping Implicit scoping does no longer leak scope to class level querying methods 2020-10-30 00:25:38 +00:00
tasks Add option to mute multiple database yaml warning 2020-10-29 16:57:57 -04:00
type Handle frozen payloads in AR::Type::Serialized 2020-10-20 09:32:21 +02:00
type_caster Use Arel::Table#type_for_attribute 2020-06-03 06:30:22 +09:00
validations MySQL: Uniqueness validator now respects default database collation 2020-10-30 00:25:46 +00:00
aggregations.rb
association_relation.rb Implicit scoping does no longer leak scope to class level querying methods 2020-10-30 00:25:38 +00:00
associations.rb Destroy associations in a background job. 2020-09-24 14:24:15 -04:00
attribute_assignment.rb More less and lazy allocation for assign_attributes and _assign_attributes 2020-02-25 16:58:00 +09:00
attribute_methods.rb Move column_for_attribute into ModelSchema 2020-07-28 19:18:04 +09:00
attributes.rb Add back decorate_attribute_type 2020-07-27 14:16:56 +09:00
autosave_association.rb Set inverse during has one autosave if necessary 2020-10-30 15:31:40 +00:00
base.rb Remove internal attribute decoration code 2020-07-20 13:26:25 +09:00
callbacks.rb Remove ActiveRecord::DefineCallbacks module 2020-04-10 06:46:06 +01:00
connection_adapters.rb Implement granular role and shard swapping 2020-10-28 15:11:35 -04:00
connection_handling.rb Remove database kwarg from connected_to 2020-11-03 16:28:11 -05:00
core.rb Add connected_to_many API 2020-11-02 13:29:48 -05:00
counter_cache.rb touch_attributes_with_time takes keyword arguments 2020-04-17 18:55:58 +09:00
database_configurations.rb Remove deprecated methods from ActiveRecord::DatabaseConfigurations 2020-10-30 00:25:37 +00:00
delegated_type.rb Fix typo s/delegates/delegate/ [ci skip] 2020-07-10 16:01:15 +09:00
destroy_association_async_job.rb Destroy associations in a background job. 2020-09-24 14:24:15 -04:00
dynamic_matchers.rb
enum.rb Merge pull request #39700 from cheshire137/master 2020-09-28 15:19:09 -04:00
errors.rb Remove deprecated support for using unsafe raw SQL in ActiveRecord::Relation methods 2020-10-30 00:25:32 +00:00
explain.rb Should not substitute binds when prepared_statements: true 2020-05-10 21:59:27 +09:00
explain_registry.rb
explain_subscriber.rb
fixtures.rb Add ActionText::FixtureSet.attachment 2020-10-30 15:53:35 -04:00
gem_version.rb Preparing for 6.1.0.rc1 release 2020-11-02 21:12:47 +00:00
inheritance.rb Support storing demodulized class name for polymorphic type 2020-08-23 16:04:29 +09:00
insert_all.rb Fix issue with expression index in insert_all 2020-06-03 10:10:01 -04:00
integration.rb has_attribute? should be aware of attribute aliases 2020-06-03 00:59:35 +09:00
internal_metadata.rb Apply suggestions from review 2020-04-16 09:00:58 -07:00
legacy_yaml_adapter.rb Deprecate YAML loading from legacy format older than Rails 5.0 2020-06-15 15:03:45 +09:00
log_subscriber.rb Allow applications to change the behavior for a strict loading violation 2020-11-02 13:01:50 -05:00
migration.rb Show outstanding migrations when the PendingMigration error is raised. This will give users feedback on which migration is outstanding. 2020-10-26 20:54:49 +00:00
model_schema.rb Fix documentation [ci skip] 2020-11-03 19:32:16 +00:00
nested_attributes.rb Fix: on accessing the parent record before creation with has_many_inversing adds two records to association 2020-02-20 09:26:47 +01:00
no_touching.rb
null_relation.rb
persistence.rb Remove deprecated ActiveRecord::Base#update_attributes and ActiveRecord::Base#update_attributes! 2020-10-30 00:25:40 +00:00
query_cache.rb Implement granular role and shard swapping 2020-10-28 15:11:35 -04:00
querying.rb Support relation.and for intersection as Set theory 2020-06-07 11:25:51 +09:00
railtie.rb Remove deprecated config.active_record.sqlite3.represent_boolean_as_integer 2020-10-30 00:25:38 +00:00
readonly_attributes.rb
reflection.rb Revert "Refactor uncastable through reflection test to detect join key overrides" 2020-09-25 17:49:52 -04:00
relation.rb Implicit scoping does no longer leak scope to class level querying methods 2020-10-30 00:25:38 +00:00
result.rb Remove deprecated ActiveRecord::Result#to_hash method 2020-10-30 00:25:33 +00:00
runtime_registry.rb Get rid of the unused RuntimeRegistry.connection_handler 2020-08-05 14:16:56 +02:00
sanitization.rb Remove deprecated support for using unsafe raw SQL in ActiveRecord::Relation methods 2020-10-30 00:25:32 +00:00
schema.rb
schema_dumper.rb Add basic support for check constraints to database migrations 2020-06-02 22:11:27 -07:00
schema_migration.rb
scoping.rb
secure_token.rb
serialization.rb has_attribute? should be aware of attribute aliases 2020-06-03 00:59:35 +09:00
signed_id.rb Fix AR signed IDs for STI models 2020-09-06 20:00:02 -04:00
statement_cache.rb Fix CI failure when prepared_statements: false 2020-06-25 02:12:35 +09:00
store.rb Attribute reader / writer methods are defined as public methods 2020-10-02 22:23:38 +09:00
suppressor.rb save and save! doesn't take positional arguments 2020-05-05 16:51:21 +09:00
table_metadata.rb Avoid redundant table alias if arel_table.name == table_name 2020-08-24 05:17:25 +09:00
test_databases.rb
test_fixtures.rb Share connection pools for non-default shards 2020-10-29 22:52:23 +00:00
timestamp.rb Restore attribute alias resolution for attribute_{for_inspect,present?} 2020-06-14 10:34:38 +09:00
touch_later.rb Ensure alias resolved before clear_attribute_changes 2020-06-04 12:02:28 +09:00
transactions.rb Remove sync_with_transaction_state to simplify code base 2020-05-17 20:57:32 +09:00
translation.rb
type.rb Add a setting to specify that all string columns should be immutable 2020-06-11 15:07:06 +09:00
type_caster.rb
validations.rb
version.rb