Module: Documents::Owner::PrepMethod

Defined in:
lib/simply_discussable/owner.rb

Instance Method Summary collapse

Instance Method Details

#document_owner(*args) ⇒ Object



6
7
8
9
# File 'lib/simply_discussable/owner.rb', line 6

def document_owner(*args)
	options = args.extract_options!
	has_many :documents, :as => :owner
end