]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/changeset.rb
Include useful URLs in note responses
[rails.git] / app / models / changeset.rb
index b76d0c5a7e1c09f333dc573d0f9e470c9a4860b3..adb41b204eae382a80c4f4282c69a7b2d33e3a7a 100644 (file)
@@ -1,7 +1,7 @@
 class Changeset < ActiveRecord::Base
   require 'xml/libxml'
 
-  belongs_to :user
+  belongs_to :user, :counter_cache => true
 
   has_many :changeset_tags