Sha256: b2c92328d5d16e1168db7482adc6f026b027f98e725764b806da7d2b8eabf30b
Contents?: true
Size: 173 Bytes
Versions: 2
Compression:
Stored size: 173 Bytes
Contents
class Session < ApplicationRecord belongs_to :<%= singular_table_name %> after_create_commit do SessionMailer.with(session: self).signed_in.deliver_later end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
authentication-zero-2.1.1 | lib/generators/authentication/templates/models/session.rb.tt |
authentication-zero-2.1.0 | lib/generators/authentication/templates/models/session.rb.tt |