Sha256: 6cf55250b5c1d36e2b3c105f397985715447b42be573357c9989a9b7a2016554
Contents?: true
Size: 323 Bytes
Versions: 6
Compression:
Stored size: 323 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 "html_message" html_message.update! content: File.read(File.join(dir, "#{codename}.html")) end end
Version data entries
6 entries across 6 versions & 1 rubygems