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