]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/message.rb
Merge pull request #2624 from francois2metz/diary-entry
[rails.git] / app / models / message.rb
index 4ab129e9184f6593012bacd98c3de504ca06662c..44b1d8745e6fdf8600b6ff307c789599f08c7262 100644 (file)
@@ -24,7 +24,7 @@
 #  messages_to_user_id_fkey    (to_user_id => users.id)
 #
 
-class Message < ActiveRecord::Base
+class Message < ApplicationRecord
   belongs_to :sender, :class_name => "User", :foreign_key => :from_user_id
   belongs_to :recipient, :class_name => "User", :foreign_key => :to_user_id