method

needs_migration?

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

needs_migration?()
public

No documentation available.

# File activerecord/lib/active_record/migration.rb, line 1298
    def needs_migration? # :nodoc:
      pending_migration_versions.size > 0
    end