Annotations::Acts::Annotatable::ClassMethods

Public Instance Methods

acts_as_annotatable() click to toggle source

(Not documented)

    # File lib/annotations/acts_as_annotatable.rb, line 11
11:         def acts_as_annotatable
12:           has_many :annotations, 
13:                    :as => :annotatable, 
14:                    :dependent => :destroy, 
15:                    :order => 'created_at ASC'
16:                    
17:           send :extend, SingletonMethods
18:           send :include, InstanceMethods
19:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.