X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/925d12cc8176414d0f9531832862a5825783d132..ade1da1c8bdc3dfc2a08448d6164f6207628a6b2:/app/models/language.rb?ds=inline 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)