Sha256: 3d17f6807d0ee5b2788fdffd3dcca781d0b13e1583e0ed7285be588788eb1f3c

Contents?: true

Size: 167 Bytes

Versions: 2

Compression:

Stored size: 167 Bytes

Contents

module Fe
  class EmailTemplate < ActiveRecord::Base
    self.table_name = self.table_name.sub('fe_', Fe.table_name_prefix)

    validates_presence_of :name
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fe-1.0.0 app/models/fe/email_template.rb
fe-0.0.4 app/models/fe/email_template.rb