class ActsAsNotificable::Generators::InstallGenerator

Public Instance Methods

copy_notification_migration() click to toggle source
# File lib/generators/acts_as_notificable/install_generator.rb, line 13
def copy_notification_migration
  migration_template "migration.rb", "db/migrate/create_notifications_table.rb"
end
copy_notification_model() click to toggle source
# File lib/generators/acts_as_notificable/install_generator.rb, line 9
def copy_notification_model
  copy_file "notification.rb", "app/models/notification.rb"
end