Hi Please help me on this
I have too Models
class Payee < ActiveRecord::Base
has_many :bills
end
class Bill< ActiveRecord::Base
belongs_to :payee
end
And I do need to have the list like following (need to have paging as
well as shuld able to sort using column headings)
Payee Name Bill Invoice No Bill Due Bill Status
XYZ Company
11111 2008-04-03 Not Cleared
22222 2008-05-03 Overdue
ABC COmpany
33333 2007-09-12 Cleared
44444 2007-12-01 Cleared
Is there any way to do this … I really have no idea… ANy help will be
greatly appreaciate…
thanks