Sha256: 24bf3c59bad96134263086ac6c624b496d3766703d013753de984787fb957f19
Contents?: true
Size: 344 Bytes
Versions: 9
Compression:
Stored size: 344 Bytes
Contents
# -*- encoding : utf-8 -*- class FixNotificationHtmlMessage < Wagn::CoreMigration def up codename = :follower_notification_email dir = File.join data_path, 'mailer' html_message = Card[codename].fetch :trait=>'html_message' html_message.update_attributes! :content=>File.read( File.join( dir, "#{codename}.html" )) end end
Version data entries
9 entries across 9 versions & 1 rubygems