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
Rafael França 05fe94c5b5
Merge pull request #42423 from dorianmarie/Model.update!
add Model.update! that is similar to Model.update but raises exceptions
2021-06-09 22:26:46 -04:00
..
associations Make ActiveRecord::Base.has_many_inversing a class_attribute 2021-06-03 17:59:00 +02:00
attribute_methods Add ActiveModel::AttributeSet#values_for_database 2021-06-08 16:39:23 +09:00
coders Fix ruby-master test suite (Psych 4.0.0) 2021-05-19 14:21:21 +02:00
connection_adapters Fix all rubocop violations 2021-06-08 23:35:59 +00: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 Don't like to add extra models/tables/fixtures, use existing those 2021-02-25 11:32:44 +09:00
locale
locking Use _primary_key_constraints_hash even in Locking::Optimistic 2021-03-11 09:24:25 +09:00
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 Fix numericality validator without precision in Active Record 2021-03-14 13:40:25 +09:00
aggregations.rb Use Enumerator#all? and Enumerator#any? with classes instead of iterations 2021-02-07 01:29:50 -05:00
association_relation.rb Allow build multiple records even on non association relation 2021-02-08 21:48:27 +09:00
associations.rb Fix documentation 2021-06-08 09:21:03 -04:00
asynchronous_queries_tracker.rb Remove finalize from NullSession 2021-02-18 15:08:13 -05:00
attribute_assignment.rb Use Enumerator#all? and Enumerator#any? with classes instead of iterations 2021-02-07 01:29:50 -05:00
attribute_methods.rb Avoid extra query attribute allocation in _insert_record/_update_record 2021-03-01 16:24:31 +09:00
attributes.rb Allow serialize attribute on alias_attribute 2021-02-08 20:47:19 +09:00
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 Document metaprogrammed Active Record callbacks [ci-skip] 2020-11-06 21:22:07 -06:00
connection_adapters.rb Register autload for Deduplicable 2021-04-28 03:37:07 +00:00
connection_handling.rb Fix inline code markup [ci-skip] 2021-02-14 11:20:35 -06:00
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 Use Enumerator#all? and Enumerator#any? with classes instead of iterations 2021-02-07 01:29:50 -05:00
delegated_type.rb Replace gsub with tr 2021-04-22 22:31:49 -03:00
destroy_association_async_job.rb Destroy associations in a background job. 2020-09-24 14:24:15 -04:00
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 Don't use type.cast(value) to emulate unchecked serialized value in unboundable? 2021-03-15 12:23:40 +09:00
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 Load timesetamps on join tables for has_many :through fixtures 2021-02-23 16:19:43 -06:00
future_result.rb Forward sql.active_record notifications back into the calling thread 2021-03-03 10:33:37 +01:00
gem_version.rb Rails 6.2 is now Rails 7.0 2021-02-04 16:47:16 +00:00
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 Eagerly define attribute methods for internal models 2020-11-06 23:46:16 +00:00
legacy_yaml_adapter.rb Rails 6.2 is now Rails 7.0 2021-02-04 16:47:16 +00:00
log_subscriber.rb Allow Adapter#select_all to be performed asynchronously from a background thread pool 2021-02-08 19:17:52 +01:00
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 Update activerecord/lib/active_record/persistence.rb 2021-06-08 15:32:16 +02:00
query_cache.rb Revert "Merge pull request #41046 from eileencodes/dont-check-if-qc-is-enabled" 2021-01-27 09:31:43 -05:00
querying.rb Reiterate the SQL injection warning in find_by_sql API doc 2021-03-05 12:00:25 -08:00
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 Implement Relation#load_async to schedule the query on the background thread pool 2021-02-16 17:44:37 +01:00
runtime_registry.rb Get rid of the unused RuntimeRegistry.connection_handler 2020-08-05 14:16:56 +02:00
sanitization.rb Strip whitespace in disallow_raw_sql! 2021-02-04 16:51:58 -05:00
schema.rb
schema_dumper.rb
schema_migration.rb Eagerly define attribute methods for internal models 2020-11-06 23:46:16 +00:00
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 Docs: fix code formatting [ci skip] 2020-12-14 20:43:17 -05:00
statement_cache.rb Fix binds logging for HomogeneousIn 2021-02-25 20:37:20 -05:00
store.rb Attribute reader / writer methods are defined as public methods 2020-10-02 22:23:38 +09:00
suppressor.rb
table_metadata.rb Fix complicated has_many through with nested where condition 2021-01-05 11:40:04 +09:00
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 attribute should not require a connection is established 2021-02-02 15:04:23 +09:00
type_caster.rb
validations.rb
version.rb