X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ef7f3d800cbdd49b692df10d312e5fd880e2e938..757a1aaa850bf48e45ee1dd2225cda1c9fa47d73:/app/models/language.rb 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