X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/24b138db094e4b5e8d062c5248ee867967dc0fd7..6852bc9c9255aca49da991d295c2b8c5555a3db9:/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]