Sha256: ea1c523b1ae25e812537ae6df41dae52b2107386bac7a172b36f07b231b19987
Contents?: true
Size: 445 Bytes
Versions: 28
Compression:
Stored size: 445 Bytes
Contents
module Workarea module Pricing module UnsupportedSegmentation extend ActiveSupport::Concern included do validate :unsupported_segmentation end private def unsupported_segmentation if active_segment_ids.present? errors.add( :active_segment_ids, I18n.t('workarea.errors.messages.unsupported_segmentation') ) end end end end end
Version data entries
28 entries across 28 versions & 1 rubygems