Sha256: ff307ba92993dbfad455c9ace3a098b16da890ae0b15a45f4b99b8680d8a2043

Contents?: true

Size: 285 Bytes

Versions: 4

Compression:

Stored size: 285 Bytes

Contents

class Mg::GiMeta < ActiveRecord::Base
  set_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

4 entries across 4 versions & 1 rubygems

Version Path
mountain-goat-1.0.5 lib/mountain-goat/models/mg/gi_meta.rb
mountain-goat-1.0.4 lib/mountain-goat/models/mg/gi_meta.rb
mountain-goat-1.0.3 lib/mountain-goat/models/mg/gi_meta.rb
mountain-goat-1.0.2 lib/mountain-goat/models/mg/gi_meta.rb