title: raise ActiveRecord::PendingMigrationError if ActiveRecord::Migrator.needs_migration?
body: <pre><code>  def check_pending!(connection = Base.connection)
      raise ActiveRecord::PendingMigrationError if ActiveRecord::Migrator.needs_migration?(connection)
    end
  
    def load_schema_if_pending!
  </code></pre>
  
  <p>i have  run: bin/rake db:migrate RAILS_ENV=development but still nothing happens, i was trying to add community engine to my rails 4.2 app, help anyone?</p>
  
  <p>Thanks</p>