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
Heinrich Lee Yu 8325d07976
Use an empty query instead of SELECT 1
Using an empty query skips the PG query planner so it is more efficient
2021-06-07 17:12:04 +08:00
..
associations Make ActiveRecord::Base.has_many_inversing a class_attribute 2021-06-03 17:59:00 +02:00
attribute_methods Deprecate partial_writes in favor of partial_inserts and partial_updates 2021-06-02 15:04:08 +02:00
coders Fix ruby-master test suite (Psych 4.0.0) 2021-05-19 14:21:21 +02:00
connection_adapters Use an empty query instead of SELECT 1 2021-06-07 17:12:04 +08:00
database_configurations chore: fix i.e. typos in Markdown and Ruby 2021-04-12 03:30:55 +10:00
encryption We want to check previous_types ignoring clean text type here 2021-04-22 08:03:48 -04:00
fixture_set
locale
locking
middleware Clarify require necessity for --minimal app 2021-05-10 10:35:57 +09:00
migration Update compatibility.rb 2021-06-02 12:36:01 -05:00
railties Rename master_key => primary_key 2021-04-01 15:02:15 +02:00
relation Expose BatchEnumerator attributes 2021-05-28 13:32:48 -04:00
scoping Faster check for any default scope with all_queries 2021-06-01 22:11:43 -04:00
tasks Enable Performance/MapCompact cop 2021-04-23 16:33:02 +09:00
type Simplify ActiveModel & ActiveRecord Type::Registry 2021-04-07 09:59:55 -04:00
type_caster
validations
aggregations.rb
association_relation.rb
associations.rb Add has_one through disable_joins 2021-05-07 09:00:42 -04:00
asynchronous_queries_tracker.rb
attribute_assignment.rb
attribute_methods.rb
attributes.rb
autosave_association.rb Revert "Only update dirty attributes once for cyclic autosave callbacks" 2021-04-29 11:01:06 -04:00
base.rb Initial extraction from active_record_encryption gem 2021-04-01 15:02:13 +02:00
callbacks.rb
connection_adapters.rb Register autload for Deduplicable 2021-04-28 03:37:07 +00:00
connection_handling.rb
core.rb Make ActiveRecord::Base.has_many_inversing a class_attribute 2021-06-03 17:59:00 +02:00
counter_cache.rb
database_configurations.rb
delegated_type.rb Replace gsub with tr 2021-04-22 22:31:49 -03:00
destroy_association_async_job.rb
disable_joins_association_relation.rb Remove unused constant from disable_joins_association_relation 2021-04-19 22:26:33 -07:00
dynamic_matchers.rb
encryption.rb Add support for uniqueness validations 2021-04-01 15:02:15 +02:00
enum.rb
errors.rb Fix spelling in AsynchronousQueryInsideTransactionError docs [ci skip] 2021-04-13 09:17:47 -04:00
explain.rb
explain_registry.rb
explain_subscriber.rb
fixtures.rb
future_result.rb
gem_version.rb
inheritance.rb Autocorrect Rubocop roles 2021-04-13 18:32:25 +00:00
insert_all.rb Enable Performance/MapCompact cop 2021-04-23 16:33:02 +09:00
integration.rb
internal_metadata.rb
legacy_yaml_adapter.rb
log_subscriber.rb
migration.rb Fix add_foreign_key to prevent double prefix/suffix 2021-05-03 13:38:29 +09:00
model_schema.rb Compute table name based on model name 2021-05-12 12:34:56 -04:00
nested_attributes.rb Replace map + compact with filter_map 2021-04-22 22:08:34 -03:00
no_touching.rb
null_relation.rb Avoid running async queries on null relations 2021-05-17 21:34:41 +01:00
persistence.rb Add ActiveRecord::Base#previously_persisted? 2021-06-04 13:06:51 +02:00
query_cache.rb
querying.rb
railtie.rb Log a warning when running SQLite in production 2021-05-11 15:55:11 +02:00
readonly_attributes.rb
reflection.rb Derive foreign key from model name in has_many associations 2021-05-12 15:21:31 -04:00
relation.rb Improve performance of #one? and #many? 2021-05-13 19:50:14 +02:00
result.rb
runtime_registry.rb
sanitization.rb
schema.rb
schema_dumper.rb
schema_migration.rb
scoping.rb Use methods to get ScopeRegistry values rather than symbols 2021-04-02 12:14:57 -07:00
secure_token.rb
serialization.rb
signed_id.rb
statement_cache.rb
store.rb
suppressor.rb
table_metadata.rb
test_databases.rb
test_fixtures.rb Ensure variables are not nil in case enlist_fixture_connections is 2021-04-22 13:45:15 -04:00
timestamp.rb Deprecate partial_writes in favor of partial_inserts and partial_updates 2021-06-02 15:04:08 +02:00
touch_later.rb
transactions.rb Revert "Only update dirty attributes once for cyclic autosave callbacks" 2021-04-29 11:01:06 -04:00
translation.rb
type.rb
type_caster.rb
validations.rb
version.rb