gitlab-org--gitlab-foss/app/models/concerns
Timothy Andrew f2ed82fa84
Implement final review comments from @DouweM and @rymai
- Have `Uniquify` take a block instead of a Proc/function. This is more
  idiomatic than passing around a function in Ruby.

- Block a user before moving their issues to the ghost user. This avoids a data
  race where an issue is created after the issues are migrated to the ghost user,
  and before the destroy takes place.

- No need to migrate issues (to the ghost user) in a transaction, because
  we're using `update_all`

- Other minor changes
2017-02-24 16:50:20 +05:30
..
access_requestable.rb
awardable.rb
cache_markdown_field.rb ActiveSupport delegation is preferred over Forwardable 2017-02-23 09:32:42 -06:00
case_sensitivity.rb Fix code for cops 2017-02-23 09:31:57 -06:00
expirable.rb Differentiate the expire from leave event 2016-10-20 00:26:45 +00:00
faster_cache_keys.rb
has_status.rb Enable Style/MutableConstant 2017-02-23 09:31:56 -06:00
importable.rb
internal_id.rb
issuable.rb Revert "Prefer leading style for Style/DotPosition" 2017-02-23 09:33:05 -06:00
mentionable.rb Revert "Prefer leading style for Style/DotPosition" 2017-02-23 09:33:05 -06:00
milestoneish.rb Revert "Enable Style/DotPosition" 2017-02-23 09:33:19 -06:00
note_on_diff.rb
participable.rb address comments 2017-01-25 10:10:05 +01:00
presentable.rb Revert "Enable Style/DotPosition" 2017-02-23 09:33:19 -06:00
project_features_compatibility.rb Mutate the attribute instead of issuing a write operation to the DB 2017-01-12 18:37:21 -05:00
protected_branch_access.rb CE-specific changes gitlab-org/gitlab-ee#1137 2016-11-29 17:38:45 +05:30
reactive_caching.rb Merge branch '24185-legacy-ci-status-reactive-cache' into 'security' 2017-01-12 17:39:46 -05:00
reactive_service.rb Enable Style/SpaceInsideBrackets 2017-02-23 09:31:56 -06:00
referable.rb Fix cross-project references copy to include the project reference 2017-01-03 13:01:46 +01:00
routable.rb Revert "Prefer leading style for Style/DotPosition" 2017-02-23 09:33:05 -06:00
select_for_project_authorization.rb Precalculate user's authorized projects in database 2016-11-18 20:25:45 +02:00
sortable.rb Revert "Prefer leading style for Style/DotPosition" 2017-02-23 09:33:05 -06:00
spammable.rb Spam check and reCAPTCHA improvements 2017-02-21 13:32:49 -03:00
strip_attribute.rb
subscribable.rb Revert "Enable Style/DotPosition" 2017-02-23 09:33:19 -06:00
taskable.rb Don’t count tasks that are not defined as list items correctly 2017-01-25 20:54:11 +01:00
time_trackable.rb Use normal associations instead of polymorphic. 2017-02-07 10:41:44 -05:00
token_authenticatable.rb Allow users to seed the initial runner registration token using an environment variable 2016-12-01 17:21:21 -08:00
uniquify.rb Implement final review comments from @DouweM and @rymai 2017-02-24 16:50:20 +05:30
valid_attribute.rb New error message recreating projects on pending delete 2017-01-11 15:07:09 +01:00