Flowdock
method

runnable

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: ActiveRecord::Migrator
runnable() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/migration.rb, line 928
    def runnable
      runnable = migrations[start..finish]
      if up?
        runnable.reject { |m| ran?(m) }
      else
        # skip the last migration if we're headed down, but not ALL the way down
        runnable.pop if target
        runnable.find_all { |m| ran?(m) }
      end
    end
Register or log in to add new notes.