Sha256: 4db757717642f38bb8dc1264089f877ab0cfc91c097bab4f41665a038220679d

Contents?: true

Size: 289 Bytes

Versions: 1

Compression:

Stored size: 289 Bytes

Contents

class Mg::GiMeta < ActiveRecord::Base
  self.table_name = 'mg_gi_metas'
  
  belongs_to :mg_goal_meta_type, :class_name => "Mg::GoalMetaType"
  belongs_to :mg_record, :class_name => "Mg::Record"
  
  validates_presence_of :mg_goal_meta_type_id
  validates_presence_of :mg_record_id
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mountain-goat-1.0.6pre1 lib/mountain-goat/models/mg/gi_meta.rb