Sha256: c706b78b5f3c9be8cf4e15dbfc5b60d9e8efc8a692276c4d3e80ccc0b27d5a61
Contents?: true
Size: 569 Bytes
Versions: 24
Compression:
Stored size: 569 Bytes
Contents
class User < ActiveRecord::Base # Rolify Gem rolify # FriendlyId Gem extend FriendlyId friendly_id :display_name, use: :slugged # Devise Gem # Include default devise modules. Others available are: # :confirmable, :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable # MessageTrain Gem message_train( name_column: :display_name, address_book_method: :valid_recipients_for ) def self.valid_recipients_for(_sender) all end end
Version data entries
24 entries across 24 versions & 1 rubygems