app/models/concerns/reformed_validation_hack.rb
# Epic Hax: don't use model validations for operation persisting
Epic Hax: don't use model validations for operation persisting
Epic Hax : don ' t use model validations for operation persisting
def save(options = {})
      if caller.select { |s| s.include?('trailblazer/operation/persist') }.any?
        super options.merge(validate: false)
      else
        super options
      end
    end
def save ( options = { } ) if caller . select { | s | s . include? ( 'trailblazer/operation/persist' ) } . any? super options . merge ( validate : false ) else super options end end
Epic Hax: don't use model validations for operation persisting
Epic Hax : don ' t use model validations for operation persisting
# maybe 'macros/nested.rb' to only hax nesting operations
options
<not_specific>