Sha256: 1f619f803174eaeebb3ad208efe920eaed4f4b98fb62b95f01fd1be90130a28a
Contents?: true
Size: 339 Bytes
Versions: 7
Compression:
Stored size: 339 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
7 entries across 7 versions & 1 rubygems