X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b92c699a66fcf6433915ca7771206c61de205a67..a65ccb55b5f9699d31088e98f61f9846f3f8505e:/app/models/old_node.rb diff --git a/app/models/old_node.rb b/app/models/old_node.rb index cc2327d08..bdf8cb47e 100644 --- a/app/models/old_node.rb +++ b/app/models/old_node.rb @@ -38,9 +38,9 @@ class OldNode < ActiveRecord::Base validates :changeset, :presence => true, :associated => true validates :latitude, :presence => true, - :numericality => { :integer_only => true } + :numericality => { :only_integer => true } validates :longitude, :presence => true, - :numericality => { :integer_only => true } + :numericality => { :only_integer => true } validates :timestamp, :presence => true validates :visible, :inclusion => [true, false]