ActiveRecord loads the xxx_type in your model, making it blow up when doing includes / using the belongs_to on a missing type.
So we make it un-missing.
Usage
class Waldo < MissingType end
Code
class MissingType < ActiveRecord::Base default_scope :conditions => "1 = 2", :limit => 0 self.table_name = "schema_migrations" def self.primary_key "version" end def readonly? true end end