Permalink
Browse files

Fix message sending

  • Loading branch information...
1 parent ead25b4 commit 6ded86ce6b1470502f1571312395258e6d63acaf @mutle committed Oct 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/message.rb
@@ -7,7 +7,7 @@ class Message < ActiveRecord::Base
belongs_to :user
belongs_to :sender, :class_name => "User"
- validates_associated :sender, :user
+ # validates_associated :sender, :user
validates_presence_of :user_id, :message => "not found."
validates_presence_of :subject

0 comments on commit 6ded86c

Please sign in to comment.