Module: Platanus::StackedAttr2

Defined in:
lib/platanus/stacked2.rb

Overview

Adds the has_stacked association to an ActiveRecord model.

TODO: Investigate how to turn this into an authentic association.

Defined Under Namespace

Modules: ClassMethods Classes: NotSupportedError

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



15
16
17
# File 'lib/platanus/stacked2.rb', line 15

def self.included(base)
  base.extend ClassMethods
end