Sha256: cca5dcde362f6f903643087c5cf014c4de75fdb1596b6779e2703526287acb7d
Contents?: true
Size: 403 Bytes
Versions: 16
Compression:
Stored size: 403 Bytes
Contents
class User < ActiveRecord::Base # groups scope :english_users, where(:locale => 'en') scope :chinese_users, where(:locale => 'zh') ### # here you can define: # 1. Which columns can be acted as payload columns. # 2. Which scope can be user group. acts_as_mail_receiver :payload_columns => %w{firstname lastname}, :groups => %w{all english_users chinese_users} end
Version data entries
16 entries across 16 versions & 1 rubygems