X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/144640c9eddfeec50d2fa59489618350b1d4a0c4..2677593b3360f5034b2956ff759e9626d295de42:/app/models/old_node.rb diff --git a/app/models/old_node.rb b/app/models/old_node.rb index 2c3e93b20..891b89731 100644 --- a/app/models/old_node.rb +++ b/app/models/old_node.rb @@ -1,4 +1,6 @@ -class OldNode < GeoRecord +class OldNode < ActiveRecord::Base + include GeoRecord + set_table_name 'nodes' validates_presence_of :user_id, :timestamp