Sha256: cb1e49cc09e987e8b7d1fa904801672a948714eeb7b4adaac07f493dfd29f2e8
Contents?: true
Size: 342 Bytes
Versions: 14
Compression:
Stored size: 342 Bytes
Contents
# -*- encoding : utf-8 -*- class FixNotificationHtmlMessage < Card::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
14 entries across 14 versions & 1 rubygems