Class: Scribo::ApplicationRecord

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/scribo/application_record.rb

Direct Known Subclasses

Content, Site

Instance Method Summary collapse

Instance Method Details

#to_liquidObject



7
8
9
# File 'app/models/scribo/application_record.rb', line 7

def to_liquid
  Kernel.const_get("#{self.class.name}Drop").new(self)
end