class LocationReferenceType < ActiveRecord::Base
        
  # default scope
  default_scope { where(:active => true) }

  def to_s
    name
  end
              
end

class LocationReferenceType < ActiveRecord::Base

  # All types that are available
  scope :active, -> { where(:active => true) }

  def to_s
    name
  end

end

Fix lookup tables to not use a default scope
Fix lookup tables to not use a default scope
