How do I display two different objects in a search?
- by JZ
github url
I am using a simple search that displays search results:
@adds = Add.search(params[:search])
In addition to the search results I'm trying to utilize a method, nearbys(), which displays objects that are close in proximity to the search result. The following method displays objects which are close to 2, but it does not display object…