app/models/booking.rb~ in has_accounts-0.3.0 vs app/models/booking.rb~ in has_accounts-0.4.0
- old
+ new
@@ -41,10 +41,10 @@
begin
date = Date.parse(value)
rescue ArgumentError
end
- where("title LIKE :text OR amount = :amount OR value_date = :value_date", :text => text, :amount => amount, :value_date => date)
+ where("title LIKE :text OR remarks = :text OR amount = :amount OR value_date = :value_date", :text => text, :amount => amount, :value_date => date)
}
# Returns array of all years we have bookings for
def self.fiscal_years
with_exclusive_scope do