X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/14936150ac8ab5cb4e8347b772b2c966f2add43f..3e69a4512f2d1b39f48719882a0d112d042da73a:/app/models/language.rb diff --git a/app/models/language.rb b/app/models/language.rb index f346c8a74..8d3e4583f 100644 --- a/app/models/language.rb +++ b/app/models/language.rb @@ -8,8 +8,6 @@ # class Language < ApplicationRecord - self.primary_key = "code" - has_many :diary_entries, :foreign_key => "language", :inverse_of => :language def self.load(file)