X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5a98d6e4f190d1b141695b8dd3bfb9d17bfcadee..85d17f257c338f668a1d17d9fc62a2f48ec84230:/app/models/old_way.rb diff --git a/app/models/old_way.rb b/app/models/old_way.rb index 00642cdb3..db8a6df40 100644 --- a/app/models/old_way.rb +++ b/app/models/old_way.rb @@ -1,8 +1,8 @@ class OldWay < ActiveRecord::Base include ConsistencyValidations - set_table_name 'ways' - set_primary_keys :way_id, :version + self.table_name = "ways" + self.primary_keys = "way_id", "version" belongs_to :changeset