Skip to content

Commit

Permalink
Removing validate for due_date
Browse files Browse the repository at this point in the history
  • Loading branch information
ialbuqu committed Oct 24, 2013
1 parent 317a497 commit fdbda5a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions models/bill.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ class Bill

validates_presence_of :issued_by, :due_date, :total_amount

validate :date_is_before_today

validate :file_size

validates :total_amount, allow_blank: true, numericality: {greater_than: 0, message: I18n.t(:not_a_number)}
Expand Down

0 comments on commit fdbda5a

Please sign in to comment.