app/models/invoice_bar/invoice.rb in invoice_bar-0.0.10 vs app/models/invoice_bar/invoice.rb in invoice_bar-0.0.11

- old
+ new

@@ -4,9 +4,10 @@ attr_accessible :number, :sent, :paid validates :number, presence: true validate :number_is_unique + validates :items, length: { minimum: 1, message: 'Needs an item' } validates :due_date, presence: true include InvoiceBar::Billable::Base include InvoiceBar::Billable::StrictValidations