```ruby
class Question < ActiveRecord::Base
  after_initialize :defaults
  belongs_to :user
  has_many :active_questions

  def defaults
    self.status = 'unanswered'
  end
end
```

Fix Questions to Be able to Change Status
user
```ruby
class Question < ActiveRecord::Base
  after_initialize :defaults
  belongs_to :user
  has_many :active_questions

  def defaults
    self.status ||= 'unanswered'
  end
end
```
assistant