Sha256: f555f8c53ab52a952006bae19d6a7ede674928bcfa5407143905571733a4cf8e

Contents?: true

Size: 285 Bytes

Versions: 4

Compression:

Stored size: 285 Bytes

Contents

class Mg::GsMeta < ActiveRecord::Base
  set_table_name :mg_gs_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/gs_meta.rb
mountain-goat-1.0.4 lib/mountain-goat/models/mg/gs_meta.rb
mountain-goat-1.0.3 lib/mountain-goat/models/mg/gs_meta.rb
mountain-goat-1.0.2 lib/mountain-goat/models/mg/gs_meta.rb