Module: Noteable
- Defined in:
- lib/dragonfly_extensions/noteable.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
2 3 4 |
# File 'lib/dragonfly_extensions/noteable.rb', line 2 def self.included(base) base.has_many :notes, :as => :noteable, :dependent => :destroy end |