Personal I'm having a hard time! I created a scaffold called book and one called Loans then I created a report call in the report I want to search for books for books.
I'm using gem ransack to do searches within the same scaffold, but as in that case and within another scaffold I'm not able to
I created the scaffold reports as: rails g scaffold report book: references loan: references