Module: DraftsMethods::BaseClassMethods
- Defined in:
- lib/drafts/drafts.rb
Instance Method Summary collapse
Instance Method Details
#has_drafts ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/drafts/drafts.rb', line 9 def has_drafts include DraftsMethods::InstanceMethods extend DraftsMethods::ClassMethods attr_accessor :draft_id attr_accessible :draft_id after_create :clear_draft end |