Skip to content

Commit

Permalink
Fix message sending
Browse files Browse the repository at this point in the history
  • Loading branch information
mutle committed Oct 17, 2011
1 parent ead25b4 commit 6ded86c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/message.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ded86c

Please sign in to comment.