Sha256: f7a6ed2f29c9fd8717f402b2acfa551d2097e658fce44c0df51b14faef8c1582

Contents?: true

Size: 201 Bytes

Versions: 7

Compression:

Stored size: 201 Bytes

Contents

class RaiseExceptionWithInvalidGroupName < ActiveRecord::Migration
  using_group(:invalid_group)

  def self.up
    User.create!(:name => "Error")
  end

  def self.down
    User.delete_all()
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ar-octopus-0.8.2 spec/migrations/8_raise_exception_with_invalid_group_name.rb
ar-octopus-0.8.1 spec/migrations/8_raise_exception_with_invalid_group_name.rb
ar-octopus-0.8.0 spec/migrations/8_raise_exception_with_invalid_group_name.rb
ar-octopus-0.7.0 spec/migrations/8_raise_exception_with_invalid_group_name.rb
ar-octopus-0.6.1 spec/migrations/8_raise_exception_with_invalid_group_name.rb
ar-octopus-0.6.0 spec/migrations/8_raise_exception_with_invalid_group_name.rb
ar-octopus-0.5.0 spec/migrations/8_raise_exception_with_invalid_group_name.rb