Module: Scrapbooker::Base::ClassMethods

Defined in:
lib/scrapbooker/base.rb

Instance Method Summary collapse

Instance Method Details

#extend_with_scrapbookerObject



8
9
10
11
12
13
14
15
16
17
# File 'lib/scrapbooker/base.rb', line 8

def extend_with_scrapbooker
  
  include Scrapbooker::Services
  
  extend Scrapbooker::Utilities
  extend Scrapbooker::Services
  
  validates_uniqueness_of :source_id, :scope => :source
  
end