Updated router. Temporarly replaced routing filter with rails internal.

This commit is contained in:
benni 2011-05-11 12:21:21 +02:00
parent b71fcdf371
commit eab16e337e
21 changed files with 190 additions and 128 deletions

View file

@ -6,7 +6,7 @@ class Invoice < ActiveRecord::Base
validates_presence_of :supplier_id
named_scope :unpaid, :conditions => { :paid_on => nil }
scope :unpaid, :conditions => { :paid_on => nil }
# Custom attribute setter that accepts decimal numbers using localized decimal separator.
def amount=(amount)