Class: Potter::Response
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Potter::Response
- Includes:
- Caching, Record
- Defined in:
- lib/potter/response.rb
Class Method Summary collapse
Class Method Details
.inherited(subclass) ⇒ Object
16 17 18 19 |
# File 'lib/potter/response.rb', line 16 def self.inherited(subclass) super subclass.has_many :requests, dependent: :nullify end |