]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/relation.rb
changing the belongs_to and has_many items in the models to reflect the new foriegn...
[rails.git] / app / models / relation.rb
index e46da5ade03f3356a18d09008f9d598f0eaaff5d..bb8f2d00342de67fedac105ae3d6136c478b6f25 100644 (file)
@@ -3,7 +3,7 @@ class Relation < ActiveRecord::Base
   
   set_table_name 'current_relations'
 
-  belongs_to :user
+  belongs_to :changeset
 
   has_many :old_relations, :foreign_key => 'id', :order => 'version'