lib/sportdb/models/goal.rb in sportdb-1.8.22 vs lib/sportdb/models/goal.rb in sportdb-1.8.23

- old
+ new

@@ -4,10 +4,10 @@ class Goal < ActiveRecord::Base belongs_to :game - belongs_to :person + belongs_to :person, class_name: 'PersonDb::Model::Person', foreign_key: 'person_id' end # class Goal end # module Model