mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
these methods are no longer needed
This commit is contained in:
@@ -316,14 +316,6 @@ module ActiveRecord
|
||||
self.class.down
|
||||
end
|
||||
|
||||
def up_with_benchmarks #:nodoc:
|
||||
migrate(:up)
|
||||
end
|
||||
|
||||
def down_with_benchmarks #:nodoc:
|
||||
migrate(:down)
|
||||
end
|
||||
|
||||
# Execute this migration in the named direction
|
||||
def migrate(direction)
|
||||
return unless respond_to?(direction)
|
||||
|
||||
Reference in New Issue
Block a user