]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/diary_entry.rb
Use _html suffix to avoid using raw when displaying translated strings
[rails.git] / app / models / diary_entry.rb
index 4affe8b597f1269e92839fa201ba9bc683ee93e7..4ff1eeb35e57b0e8e3890dee62e2804761634215 100644 (file)
@@ -26,7 +26,7 @@
 #  diary_entries_user_id_fkey        (user_id => users.id)
 #
 
-class DiaryEntry < ActiveRecord::Base
+class DiaryEntry < ApplicationRecord
   belongs_to :user, :counter_cache => true
   belongs_to :language, :foreign_key => "language_code"