added comment
This commit is contained in:
parent
27fb2f3ceb
commit
2982cd998a
|
|
@ -50,6 +50,8 @@ module JamRuby
|
|||
has_many :received_invitations, :foreign_key => "receiver_id", :inverse_of => :receiver, :class_name => "JamRuby::Invitation"
|
||||
has_many :sent_invitations, :foreign_key => "sender_id", :inverse_of => :sender, :class_name => "JamRuby::Invitation"
|
||||
|
||||
|
||||
# This causes the authenticate method to be generated (among other stuff)
|
||||
has_secure_password
|
||||
|
||||
before_save { |user| user.email = email.downcase }
|
||||
|
|
|
|||
Loading…
Reference in New Issue