- `Rails.root` is a `Pathname`, so let's use `Rails.root.join` - Clean up most of the remaining `File.join`s
10 lines
225 B
Ruby
10 lines
225 B
Ruby
class UndoAddingIndicies < ActiveRecord::Migration
|
|
require Rails.root.join('db', 'migrate', '20110213052742_add_more_indicies')
|
|
def self.up
|
|
AddMoreIndicies.down
|
|
end
|
|
|
|
def self.down
|
|
AddMoreIndicies.up
|
|
end
|
|
end
|