Flowdock
method

new

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: PendingMigrationError
new() 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 41
    def initialize
      if defined?(Rails)
        super("Migrations are pending. To resolve this issue, run:\n\n\tbin/rake db:migrate RAILS_ENV=#{::Rails.env}")
      else
        super("Migrations are pending. To resolve this issue, run:\n\n\tbin/rake db:migrate")
      end
    end
Register or log in to add new notes.