```ruby
class CapitalProjectType < ActiveRecord::Base

  # Active scope -- always use this scope in forms
  scope :active, -> { where(active: true) }

  def to_s
    name
  end

end
```

Fix lookup tables to not use a default scope
user
```ruby
class CapitalProjectType < ActiveRecord::Base

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

  def to_s
    name
  end

end
```
assistant