X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ef7f3d800cbdd49b692df10d312e5fd880e2e938..5f495b43d18bfa7a9bcaf918aa4db15261bea46a:/app/models/language.rb?ds=sidebyside diff --git a/app/models/language.rb b/app/models/language.rb index 8ccb00a5d..bb31c82ee 100644 --- a/app/models/language.rb +++ b/app/models/language.rb @@ -1,7 +1,7 @@ class Language < ActiveRecord::Base self.primary_key = "code" - has_many :diary_entries, :foreign_key => 'language' + has_many :diary_entries, :foreign_key => "language" def self.load(file) Language.transaction do