14545f46af
Make deleting with optimistic locking respect NULL Make deleting with optimistic locking respect NULL For now deleting with optimistic locking is broken when lock_version is still NULL, because Rails would try to delete with `lock_version = 0` while in the database the column is still `NULL`. The monkey patches would force Rails just pass whatever in the column, and stop Rails from casting `NULL` into `0` when the value is read from database. Closes #24766 See merge request !7867 |
||
---|---|---|
.. | ||
0_post_deployment_migrations.rb | ||
1_settings.rb | ||
2_app.rb | ||
4_ci_app.rb | ||
5_backend.rb | ||
6_validations.rb | ||
7_redis.rb | ||
active_record_query_trace.rb | ||
ar5_batching.rb | ||
ar_monkey_patch.rb | ||
ar_speed_up_migration_checking.rb | ||
attr_encrypted_no_db_connection.rb | ||
backtrace_silencers.rb | ||
bullet.rb | ||
carrierwave.rb | ||
chronic_duration.rb | ||
connection_fix.rb | ||
cookies_serializer.rb | ||
date_time_formats.rb | ||
default_url_options.rb | ||
devise.rb | ||
devise_password_length.rb.example | ||
disable_email_interceptor.rb | ||
doorkeeper.rb | ||
email_template_interceptor.rb | ||
gitlab_shell_secret_token.rb | ||
gitlab_workhorse_secret.rb | ||
go_get.rb | ||
gollum.rb | ||
hamlit.rb | ||
health_check.rb | ||
inflections.rb | ||
kaminari_config.rb | ||
metrics.rb | ||
mime_types.rb | ||
mysql_ignore_postgresql_options.rb | ||
omniauth.rb | ||
postgresql_limit_fix.rb | ||
postgresql_opclasses_support.rb | ||
premailer.rb | ||
public_key.rb | ||
rack_attack.rb.example | ||
rack_attack_git_basic_auth.rb | ||
rack_attack_logging.rb | ||
rack_lineprof.rb | ||
relative_naming_ci_namespace.rb | ||
relative_url.rb.sample | ||
request_profiler.rb | ||
routing_draw.rb | ||
secret_token.rb | ||
sentry.rb | ||
session_store.rb | ||
sherlock.rb | ||
sidekiq.rb | ||
smtp_settings.rb.sample | ||
static_files.rb | ||
time_zone.rb | ||
trusted_proxies.rb | ||
wrap_parameters.rb |