Sha256: 1d10becd40f26c89b6de58b9ab024fd4219202063ebf36b87ff95bc73b1a95d5

Contents?: true

Size: 398 Bytes

Versions: 17

Compression:

Stored size: 398 Bytes

Contents

class User < ActiveRecord::Base
  # Include default devise modules. Others available are:
  # :confirmable, :lockable, :timeoutable and :omniauthable
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable

  after_create :after_create

  private

  def after_create
    mail = UserLiquidMailer.after_create_user
    mail.deliver
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
effective_email_templates-0.6.1 spec/dummy/app/models/user.rb
effective_email_templates-0.6.0 spec/dummy/app/models/user.rb
effective_email_templates-0.5.1 spec/dummy/app/models/user.rb
effective_email_templates-0.5.0 spec/dummy/app/models/user.rb
effective_email_templates-0.4.6 spec/dummy/app/models/user.rb
effective_email_templates-0.4.5 spec/dummy/app/models/user.rb
effective_email_templates-0.4.4 spec/dummy/app/models/user.rb
effective_email_templates-0.4.3 spec/dummy/app/models/user.rb
effective_email_templates-0.4.2 spec/dummy/app/models/user.rb
effective_email_templates-0.4.1 spec/dummy/app/models/user.rb
effective_email_templates-0.4.0 spec/dummy/app/models/user.rb
effective_email_templates-0.3.5 spec/dummy/app/models/user.rb
effective_email_templates-0.3.4 spec/dummy/app/models/user.rb
effective_email_templates-0.3.3 spec/dummy/app/models/user.rb
effective_email_templates-0.3.1 spec/dummy/app/models/user.rb
effective_email_templates-0.3.0 spec/dummy/app/models/user.rb
effective_email_templates-0.2.8 spec/dummy/app/models/user.rb