X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/773ef195d42f74ef20fb59f5baf6262102e6ab38..3b56c005ebac1e5aaef8890057767e1955bb4948:/app/models/language.rb diff --git a/app/models/language.rb b/app/models/language.rb index bb1aa4bd2..cdf85a52b 100644 --- a/app/models/language.rb +++ b/app/models/language.rb @@ -7,7 +7,7 @@ # native_name :string # -class Language < ActiveRecord::Base +class Language < ApplicationRecord self.primary_key = "code" has_many :diary_entries, :foreign_key => "language"