Sha256: 1ef201005aa26c4c9cd20c8c6b15b95bb09d943ffb0085afbebd52b0dda1fa02
Contents?: true
Size: 401 Bytes
Versions: 5
Compression:
Stored size: 401 Bytes
Contents
class Mdm::ModuleArch < ActiveRecord::Base self.table_name = 'module_archs' # # Associations # belongs_to :module_detail, :class_name => 'Mdm::ModuleDetail' # # Mass Assignment Security # attr_accessible :name # # Validations # validates :module_detail, :presence => true validates :name, :presence => true ActiveSupport.run_load_hooks(:mdm_module_arch, self) end
Version data entries
5 entries across 5 versions & 1 rubygems