```ruby
class Reply < ActiveRecord::Base
  scope :base, -> { scoped }
  belongs_to :topic, -> { includes(:replies) }
  belongs_to :developer

  validates_presence_of :content
end
```

Remove deprecation warning, since scoped waas deprecated
user
```ruby
class Reply < ActiveRecord::Base
  scope :base, -> { all }
  belongs_to :topic, -> { includes(:replies) }
  belongs_to :developer

  validates_presence_of :content
end
```
assistant