X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a39c645602f9d27b7927500c93890f4d7d79620e..b3e74b0650a4902b42ee14c37b707209a0835a55:/app/models/message.rb diff --git a/app/models/message.rb b/app/models/message.rb index 4e89cb2e1..e3a3ec921 100644 --- a/app/models/message.rb +++ b/app/models/message.rb @@ -24,8 +24,6 @@ # messages_to_user_id_fkey (to_user_id => users.id) # -require "validators" - class Message < ActiveRecord::Base belongs_to :sender, :class_name => "User", :foreign_key => :from_user_id belongs_to :recipient, :class_name => "User", :foreign_key => :to_user_id