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 Codestyle: make sure we have space around operators 2016-05-13 04:46:56 -03:00
chronic_duration.rb Enable exceptions on ChronicDuration 2016-06-13 11:03:30 +01:00
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 Fix images in emails 2016-06-16 11:47:01 +01:00
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 Restrict hamlit version, remove coffeescript filters. 2016-06-23 15:54:23 -06:00
health_check.rb Update the health_check gem to the latest release 2016-07-11 09:30:47 -07:00
inflections.rb Create table for award emoji 2016-05-06 10:47:11 +02:00
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 Add leading comment space cop 2016-05-31 19:33:46 -03:00
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 Don't remove IDs via premailer 2016-05-25 16:56:06 -04:00
public_key.rb
rack_attack.rb.example Import from Github using Personal Access Tokens. 2016-06-30 18:48:17 +02:00
rack_attack_git_basic_auth.rb Disable Rack Attack if admin disables it in config file 2016-04-27 07:22:02 -07:00
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 Add SMTP as default delivery method to match gitlab-org/omnibus-gitlab!826 2016-06-24 11:56:52 -07:00
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