I’m wondering if there’s a way I can gather data from multiple tables
from the child table by using the paginate method?
I would have done it using select_by_sql but I need it to paginate.
My table structure is:
Records is a child of Date and Account
I want to be able to print a table using the Records controller that
will display child records dependent on a specific date/account. So I
need a condition from more than one table.
Can anybody help?