Sha256: c6b9c3dbcbcc3a3b3fbce5e58cd9a4ecf0ab42cdf4711355de953fdf78e08416
Contents?: true
Size: 403 Bytes
Versions: 43
Compression:
Stored size: 403 Bytes
Contents
class Mdm::Module::Platform < ActiveRecord::Base self.table_name = 'module_platforms' # # Associations # belongs_to :detail, :class_name => 'Mdm::Module::Detail' # # Mass Assignment Security # attr_accessible :name # # Validations # validates :detail, :presence => true validates :name, :presence => true ActiveSupport.run_load_hooks(:mdm_module_platform, self) end
Version data entries
43 entries across 43 versions & 1 rubygems