Sha256: 9389166c42668f19575d90280e86ed39e4347de1f1f97875011c86ef5ee4750e
Contents?: true
Size: 250 Bytes
Versions: 2
Compression:
Stored size: 250 Bytes
Contents
# # Encapulates a Cost and a Date, used to track costs by # date so sums for date ranges can be generated. # class DatedCost < ActiveRecord::Base money_columns :cost belongs_to :costable, :polymorphic => true validates :date, :date => true end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
e9_crm-0.1.4 | app/models/dated_cost.rb |
e9_crm-0.1.1 | app/models/dated_cost.rb |