views:

46

answers:

1

Does anyone know how to make a search form (in rails) go directly to the first result, rather than a page of results?

+2  A: 

Have the results limited to one and redirect to that result's page from your controller.

Jarrod