]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/changeset.rb
Fix errors when an existing user tries to agree to the new terms
[rails.git] / app / models / changeset.rb
index 803cbb52f1a0e22c2cd37cee805176aeea607c94..d13974fd992e9e281b1a3c231b7fce5cad6bfe34 100644 (file)
@@ -19,7 +19,6 @@ class Changeset < ActiveRecord::Base
   validates_numericality_of :min_lat, :max_lat, :min_lon, :max_lat, :allow_nil => true, :integer_only => true
   validates_numericality_of :user_id,  :integer_only => true
   validates_numericality_of :num_changes, :integer_only => true, :greater_than_or_equal_to => 0
-  validates_associated :user
 
   # over-expansion factor to use when updating the bounding box
   EXPAND = 0.1