Sha256: a4221116c5a2e0b4bded4658808eaf4dd9f974a7fcfc9e680a2c32af92d5f61b

Contents?: true

Size: 200 Bytes

Versions: 46

Compression:

Stored size: 200 Bytes

Contents

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

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

Version data entries

46 entries across 42 versions & 7 rubygems

Version Path
notifiably_audited-activerecord-2.1.0 lib/generators/audited/templates/add_remote_address_to_audits.rb
notifiably_audited-activerecord-2.0.0 lib/generators/audited/templates/add_remote_address_to_audits.rb
audited-hp-4.3.1 lib/generators/audited/templates/add_remote_address_to_audits.rb
audited-hp-4.3.0 lib/generators/audited/templates/add_remote_address_to_audits.rb
audited-4.3.0 lib/generators/audited/templates/add_remote_address_to_audits.rb
audited-activerecord-4.2.2 lib/generators/audited/templates/add_remote_address_to_audits.rb
audited-activerecord-4.2.1 lib/generators/audited/templates/add_remote_address_to_audits.rb
audited-activerecord-4.2.0 lib/generators/audited/templates/add_remote_address_to_audits.rb
audited-activerecord-4.0.0 lib/generators/audited/templates/add_remote_address_to_audits.rb
audited-activerecord-4.0.0.rc1 lib/generators/audited/templates/add_remote_address_to_audits.rb
notifiably_audited-activerecord-1.0.10 lib/generators/notifiably_audited/templates/add_remote_address_to_audits.rb
notifiably_audited-activerecord-1.0.9 lib/generators/notifiably_audited/templates/add_remote_address_to_audits.rb
notifiably_audited-activerecord-1.0.8 lib/generators/notifiably_audited/templates/add_remote_address_to_audits.rb
notifiably_audited-activerecord-1.0.7 lib/generators/notifiably_audited/templates/add_remote_address_to_audits.rb
notifiably_audited-activerecord-1.0.6 lib/generators/notifiably_audited/templates/add_remote_address_to_audits.rb
notifiably_audited-activerecord-1.0.5 lib/generators/notifiably_audited/templates/add_remote_address_to_audits.rb
notifiably_audited-activerecord-1.0.4 lib/generators/notifiably_audited/templates/add_remote_address_to_audits.rb
notifiably_audited-activerecord-1.0.3 lib/generators/notifiably_audited/templates/add_remote_address_to_audits.rb
notifiably_audited-activerecord-1.0.2 lib/generators/notifiably_audited/templates/add_remote_address_to_audits.rb
notifiably_audited-activerecord-1.0.1 lib/generators/notifiably_audited/templates/add_remote_address_to_audits.rb