Sha256: 3f7f015ec435a034e9c99a184fa60014cd3e1d9a17370d3178c8d9825bdb14e7

Contents?: true

Size: 253 Bytes

Versions: 15

Compression:

Stored size: 253 Bytes

Contents

class AddMailInterceptorsToSettings < ActiveRecord::Migration
  def up
    Setting.apply_all(
      mail_interceptors: ['rails@admin.cms', 'used in staging only'],
    )
  end
  def down
    Setting.remove_all(
      :mail_interceptors,
    )
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
o2webappizer-0.2.6 templates/db/migrate/001_add_mail_interceptors_to_settings.rb
o2webappizer-0.2.5 templates/db/migrate/001_add_mail_interceptors_to_settings.rb
o2webappizer-0.2.4 templates/db/migrate/001_add_mail_interceptors_to_settings.rb
o2webappizer-0.2.3 templates/db/migrate/001_add_mail_interceptors_to_settings.rb
o2webappizer-0.2.2 templates/db/migrate/001_add_mail_interceptors_to_settings.rb
o2webappizer-0.2.1 templates/db/migrate/001_add_mail_interceptors_to_settings.rb
o2webappizer-0.2.0 templates/db/migrate/001_add_mail_interceptors_to_settings.rb
o2webappizer-0.1.15 templates/db/migrate/001_add_mail_interceptors_to_settings.rb
o2webappizer-0.1.14 templates/db/migrate/001_add_mail_interceptors_to_settings.rb
o2webappizer-0.1.13 templates/db/migrate/001_add_mail_interceptors_to_settings.rb
o2webappizer-0.1.12 templates/db/migrate/001_add_mail_interceptors_to_settings.rb
o2webappizer-0.1.11 templates/db/migrate/001_add_mail_interceptors_to_settings.rb
o2webappizer-0.1.10 templates/db/migrate/001_add_mail_interceptors_to_settings.rb
o2webappizer-0.1.9 templates/db/migrate/001_add_mail_interceptors_to_settings.rb
o2webappizer-0.1.8 templates/db/migrate/20160114191411_add_mail_interceptors_to_settings.rb