class RuboCop::Cop::Rails::ReversibleMigration
def within_change_method?(node)
def within_change_method?(node) node.each_ancestor(:def).any? do |ancestor| ancestor.method?(:change) end end
def within_change_method?(node) node.each_ancestor(:def).any? do |ancestor| ancestor.method?(:change) end end