model updates
This commit is contained in:
parent
d7fb9850e8
commit
c407fcfd86
|
|
@ -9,9 +9,5 @@ module JamRuby
|
|||
validates :user_id, :presence => true
|
||||
validates :friend_id, :presence => true
|
||||
|
||||
def to_s
|
||||
return "#{self.user.to_s}:#{self.friend.to_s}"
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
Loading…
Reference in New Issue