Sha256: e0024f513c904b05bda38ac7a276391ab1c241df5e324e72d0d5d037b07e8c2d
Contents?: true
Size: 483 Bytes
Versions: 5
Compression:
Stored size: 483 Bytes
Contents
class User < ApplicationRecord # ---------------------------------------- Plugins devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable receives_notifications # ---------------------------------------- Associations has_many :messages has_many :sent_messages, :class_name => 'Message', :foreign_key => :author_id # ---------------------------------------- Instance Methods def to_s email end end
Version data entries
5 entries across 5 versions & 1 rubygems