gitlab-org--gitlab-foss/config/initializers
Stan Hu 14545f46af Merge branch 'fix-optimistic-locking-for-destroy' into 'master'
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
2016-12-01 16:24:17 +00:00
..
0_post_deployment_migrations.rb
1_settings.rb Issue #13823: random message when all Todos are Done 2016-11-11 20:59:54 +01:00
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 Use Arel to avoid MySQL triple quoting 2016-12-01 17:17:04 +08:00
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 Merge branch 'fix-shibboleth-auth-with-no-uid' into 'master' 2016-11-16 17:28:56 +00:00
devise_password_length.rb.example
disable_email_interceptor.rb
doorkeeper.rb
email_template_interceptor.rb Add new configuration setting to enable/disable HTML emails. 2016-11-28 17:00:03 -05:00
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 Add logging for rack attack events 2016-11-18 15:05:22 -05:00
rack_lineprof.rb
relative_naming_ci_namespace.rb
relative_url.rb.sample
request_profiler.rb
routing_draw.rb Refactor project routing 2016-11-07 17:14:34 +02:00
secret_token.rb
sentry.rb
session_store.rb
sherlock.rb
sidekiq.rb Gracefully recover from Redis connection failures in Sidekiq initializer 2016-12-01 06:24:59 -08:00
smtp_settings.rb.sample
static_files.rb
time_zone.rb
trusted_proxies.rb
wrap_parameters.rb