adding messages mvc to allow users to send messages.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class Message < ActiveRecord::Base
|
||||
belongs_to :user
|
||||
attr_accessible :creator_id, :message, :read, :receiver_id
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user