Added duration to tasks. Annotated all models.

This commit is contained in:
benni 2011-05-07 20:50:39 +02:00
parent face58ebef
commit dcd2a514a6
30 changed files with 494 additions and 431 deletions

View file

@ -1,13 +1,3 @@
# == Schema Information
#
# Table name: deliveries
#
# id :integer not null, primary key
# supplier_id :integer
# delivered_on :date
# created_at :datetime
#
class Delivery < ActiveRecord::Base
belongs_to :supplier
@ -27,3 +17,15 @@ class Delivery < ActiveRecord::Base
end
end
# == Schema Information
#
# Table name: deliveries
#
# id :integer not null, primary key
# supplier_id :integer
# delivered_on :date
# created_at :datetime
# note :text
#