Sha256: 485e7bb4c5bf4276121a5b69bcc4c9b610b24b4c233ac999badbe41b57a04eb4

Contents?: true

Size: 357 Bytes

Versions: 1

Compression:

Stored size: 357 Bytes

Contents

class HasMessagesGenerator < Rails::Generator::Base
  def manifest
    record do |m|
      m.migration_template '001_create_messages.rb', 'db/migrate', :migration_file_name => 'create_messages'
      m.sleep 1
      m.migration_template '002_create_message_recipients.rb', 'db/migrate', :migration_file_name => 'create_message_recipients'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
has_messages-0.4.1 generators/has_messages/has_messages_generator.rb