X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b92c699a66fcf6433915ca7771206c61de205a67..03d5eb4b05b856a59af46fe584363102b4e390e9:/app/models/user_block.rb diff --git a/app/models/user_block.rb b/app/models/user_block.rb index 92cee16cd..60f680ac3 100644 --- a/app/models/user_block.rb +++ b/app/models/user_block.rb @@ -24,7 +24,7 @@ # user_blocks_user_id_fkey (user_id => users.id) # -class UserBlock < ActiveRecord::Base +class UserBlock < ApplicationRecord validate :moderator_permissions validates :reason, :characters => true