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