lib/merit/model_additions.rb
# Create sash if doesn't have
Create sash if doesn't have
Create sash if doesn ' t have
def create_sash_if_none
    if sash.nil?
      self.sash = Sash.new
      self.save(:validate => false)
    end
  end
def create_sash_if_none if sash . nil? self . sash = Sash . new self . save ( :validate => false ) end end
Create sash if doesn't have
Create sash if doesn ' t have