Sha256: 7e7a91fa565161bb0eaabedb53e7adc0625256722e041e939ecbcd039ea3e836

Contents?: true

Size: 293 Bytes

Versions: 26

Compression:

Stored size: 293 Bytes

Contents

# frozen_string_literal: true

module Decidim
  class UserBlock < ApplicationRecord
    MINIMUM_JUSTIFICATION_LENGTH = 15

    belongs_to :user, class_name: "Decidim::UserBaseEntity", foreign_key: :decidim_user_id
    belongs_to :blocking_user, class_name: "Decidim::UserBaseEntity"
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
decidim-core-0.29.1 app/models/decidim/user_block.rb
decidim-core-0.28.4 app/models/decidim/user_block.rb
decidim-core-0.27.9 app/models/decidim/user_block.rb
decidim-core-0.29.0 app/models/decidim/user_block.rb
decidim-core-0.28.3 app/models/decidim/user_block.rb
decidim-core-0.27.8 app/models/decidim/user_block.rb
decidim-core-0.29.0.rc4 app/models/decidim/user_block.rb
decidim-core-0.29.0.rc3 app/models/decidim/user_block.rb
decidim-core-0.29.0.rc2 app/models/decidim/user_block.rb
decidim-core-0.29.0.rc1 app/models/decidim/user_block.rb
decidim-core-0.28.2 app/models/decidim/user_block.rb
decidim-core-0.27.7 app/models/decidim/user_block.rb
decidim-core-0.28.1 app/models/decidim/user_block.rb
decidim-core-0.27.6 app/models/decidim/user_block.rb
decidim-core-0.26.10 app/models/decidim/user_block.rb
decidim-core-0.26.9 app/models/decidim/user_block.rb
decidim-core-0.28.0 app/models/decidim/user_block.rb
decidim-core-0.27.5 app/models/decidim/user_block.rb
decidim-core-0.28.0.rc5 app/models/decidim/user_block.rb
decidim-core-0.28.0.rc4 app/models/decidim/user_block.rb