Module: ActiveRecord::Acts::MuckPost::ClassMethods

Defined in:
lib/active_record/acts/muck_post.rb

Instance Method Summary collapse

Instance Method Details

#acts_as_muck_post(options = {}) ⇒ Object



10
11
12
13
14
# File 'lib/active_record/acts/muck_post.rb', line 10

def acts_as_muck_post(options = {})        
  belongs_to :blog, :dependent => :destroy
  include ActiveRecord::Acts::MuckPost::InstanceMethods
  extend ActiveRecord::Acts::MuckPost::SingletonMethods
end