Module: Contentable::Hook
- Defined in:
- lib/contentable.rb
Overview
Extends ActiveRecord::Base in order to grant it’s decendents the acts_as_hook
Instance Method Summary collapse
Instance Method Details
#acts_as_contentable ⇒ Object
17 18 19 20 |
# File 'lib/contentable.rb', line 17 def acts_as_contentable self.send :include, Model ActiveRecord::Migration.extend MigrationHelper end |