blomquisg/foreman — pull request #2 by skottler (2012-08-04 13:07:27+00:00)
Title: Fixed migrations by removing the default_scope for now

The host model doesn't subclass ActiveRecord::Base so access to the Organization class isn't available. This causes running a fresh database migration to fail during the validation of the model. We can fix the scope issue once the attribute inheritance is in a more complete state since it's bound to change anyhow.