Module: Sunrise::Models::Header::ClassMethods
- Defined in:
- lib/sunrise/models/header.rb
Class Method Summary collapse
Class Method Details
.extended(base) ⇒ Object
11 12 13 14 15 |
# File 'lib/sunrise/models/header.rb', line 11 def self.extended(base) base.class_eval do belongs_to :headerable, :polymorphic => true end end |