Rails - Search Controller

Hello. I’m getting ready to build search capabilities into my app. I
want the search to have the ability to span multiple models.

I’m thinking about adding a search controller which would then decide
which models to search based on settings etc…

What do you think? Does a search controller sound right or is there
something open-source I should be thinking about?

Thanks