lib/mountain-goat/models/mg/gi_meta.rb in mountain-goat-1.0.5 vs lib/mountain-goat/models/mg/gi_meta.rb in mountain-goat-1.0.6pre1
- old
+ new
@@ -1,6 +1,6 @@
class Mg::GiMeta < ActiveRecord::Base
- set_table_name :mg_gi_metas
+ 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