Sha256: e56f1de58aeb37fab164e754f5c398ab4af8858d4e5c4cf139ef240e5256a1e3
Contents?: true
Size: 196 Bytes
Versions: 2
Compression:
Stored size: 196 Bytes
Contents
class User < ActiveRecord::Base has_many :likes def send_instructions mail = Notifier.instructions(self) mail.send(mail.respond_to?(:deliver_now) ? :deliver_now : :deliver) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
workbook_rails-0.1.1 | spec/dummy/app/models/user.rb |
workbook_rails-0.1.0 | spec/dummy/app/models/user.rb |