2011-05-22 14:35:46 +00:00
|
|
|
class Reminder < ActiveRecord::Base
|
2012-11-15 17:34:19 +00:00
|
|
|
include ActiveModel::ForbiddenAttributesProtection
|
2011-09-15 21:41:26 +00:00
|
|
|
validates_presence_of :from_user, :to_user, :thing
|
2012-06-18 17:49:28 +00:00
|
|
|
belongs_to :from_user, class_name: "User"
|
|
|
|
belongs_to :to_user, class_name: "User"
|
2011-09-15 21:41:26 +00:00
|
|
|
belongs_to :thing
|
2011-05-22 14:35:46 +00:00
|
|
|
end
|