Module: Honesty::ClassMethods

Defined in:
lib/honesty.rb

Instance Method Summary collapse

Instance Method Details

#honestyObject



11
12
13
14
# File 'lib/honesty.rb', line 11

def honesty
  has_many :facts, {:as => :honest, :dependent => :destroy}
  include Honesty::InstanceMethods
end