Sha256: 4123931d4dbe641e51b30d399abf4a373d4701a4eb002e2d770245a67a607696

Contents?: true

Size: 185 Bytes

Versions: 46

Compression:

Stored size: 185 Bytes

Contents

class <%= migration_class_name %> < ActiveRecord::Migration
  def self.up
    add_column :audits, :comment, :string
  end

  def self.down
    remove_column :audits, :comment
  end
end

Version data entries

46 entries across 42 versions & 7 rubygems

Version Path
acts_as_audited-2.1.0 lib/generators/acts_as_audited/templates/add_comment_to_audits.rb
acts_as_audited-2.0.0 lib/generators/acts_as_audited/templates/add_comment_to_audits.rb
acts_as_audited-2.0.0.rc7 lib/generators/acts_as_audited/templates/add_comment_to_audits.rb
acts_as_audited-2.0.0.rc6 lib/generators/acts_as_audited/templates/add_comment_to_audits.rb
acts_as_audited-2.0.0.rc5 lib/generators/acts_as_audited/templates/add_comment_to_audits.rb
acts_as_audited-2.0.0.rc4 lib/generators/acts_as_audited/templates/add_comment_to_audits.rb