Sha256: a3455dfd1d938f83f57a444bec656340e46cbd763a797b587e13f376d33c2d58

Contents?: true

Size: 137 Bytes

Versions: 4

Compression:

Stored size: 137 Bytes

Contents

module AddNameValidationConcern
  extend ActiveSupport::Concern
  included do
    validates :name, presence: true, on: :create
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_braintree-0.2.1 app/models/concerns/add_name_validation_concern.rb
solidus_braintree-0.2.0 app/models/concerns/add_name_validation_concern.rb
solidus_braintree-0.1.5 app/models/concerns/add_name_validation_concern.rb
solidus_braintree-0.1.3 app/models/concerns/add_name_validation_concern.rb