Module: ActiveRecord::Acts::MuckBlogable::ClassMethods

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

Instance Method Summary collapse

Instance Method Details

#has_muck_blogObject



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

def has_muck_blog
  has_one :blog, :as => :blogable, :dependent => :destroy

  include ActiveRecord::Acts::MuckBlogable::InstanceMethods
  extend ActiveRecord::Acts::MuckBlogable::SingletonMethods
  
end