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 Support for post deployment migrations 2016-10-31 12:54:48 +01:00
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 Remove obsolete code 2016-07-22 17:54:04 +02:00
6_validations.rb Add ENV variable to skip repository storages validations 2016-07-25 13:48:40 -04:00
7_redis.rb Initialize Redis pool in single-threaded context 2016-09-30 12:27:43 +02:00
active_record_query_trace.rb
ar5_batching.rb Add markdown cache columns to the database, but don't use them yet 2016-10-07 02:54:25 +01:00
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 Memoize ActiveRecord::Migrator.migrations in tests 2016-10-06 19:14:57 +01:00
attr_encrypted_no_db_connection.rb Use Module#prepend instead of alias_method_chain 2016-09-30 07:08:25 -03:00
backtrace_silencers.rb
bullet.rb
carrierwave.rb
chronic_duration.rb
connection_fix.rb Update warn message for MySQL fix 2016-09-28 23:48:32 +00:00
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 Small refactor and syntax fixes. 2016-08-18 16:47:26 -05:00
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 Load Github::Shell's secret token from file on initialization instead of every request. 2016-10-06 11:22:37 -04:00
gitlab_workhorse_secret.rb Verify JWT messages from gitlab-workhorse 2016-09-05 15:05:31 +02:00
go_get.rb
gollum.rb
hamlit.rb
health_check.rb Update the health_check gem to the latest release 2016-07-11 09:30:47 -07:00
inflections.rb
kaminari_config.rb
metrics.rb Add instrumentation to conflict classes 2016-10-13 14:16:34 -05:00
mime_types.rb No need for this variable. 2016-09-12 14:23:32 -06:00
mysql_ignore_postgresql_options.rb
omniauth.rb
postgresql_limit_fix.rb Use Module#prepend instead of alias_method_chain 2016-09-30 07:08:25 -03:00
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 Improve manual actions code and add model, service and feature tests 2016-07-18 14:46:20 +02:00
relative_url.rb.sample
request_profiler.rb Fix RequestProfiler::Middleware error when code is reloaded in development 2016-08-01 14:26:11 +02:00
routing_draw.rb Refactor project routing 2016-11-07 17:14:34 +02:00
secret_token.rb Ignore Rails/Exit cop in initializer 2016-08-04 10:17:35 +01:00
sentry.rb Don't send Private-Token headers to Sentry 2016-10-04 16:57:01 +02:00
session_store.rb Deduplicated resque.yml loading from several places 2016-08-04 18:55:37 +02:00
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 Ignore invalid IPs in X-Forwarded-For when trusted proxies are configured. 2016-07-31 15:36:11 -04:00
wrap_parameters.rb