search for: debtorno

Displaying 2 results from an estimated 2 matches for "debtorno".

Did you mean: debtor
2009 Jul 28
1
complex find
I have class Debtortrans < ActiveRecord::Base has_many :debtortranstaxes, :foreign_key => ''debtortransid'', :class_name => ''debtortranstaxes'' belongs_to :debtor, :foreign_key => ''debtorno'' and class Debtortranstaxes < ActiveRecord::Base belongs_to :debtortrans, :foreign_key => ''debtortransid'' Now I want to find Debtortrans records but only those with specific Debtortranstaxes values... @debtor = Debtortrans.find(:all, :conditions =>...
2009 Jul 29
9
partials...
...date BETWEEN :begin AND :end AND taxauthid IN (:ids)", {:begin => @per1, :end => @per2, :ids => @taxauthids}], :joins => ''LEFT JOIN debtortrans ON debtortrans.id=debtortransid'', :include => ''debtortrans'', :select => ''debtorno, trandate, transno, ovamount, taxamount, taxauthid'', :order => ''trandate, transno'') render :partial => ''reports/city_taxes_print.erb'' %> but it only renders a blank page and there are quite a few things in _city_taxes_print.erb that shou...