ransack search

Hi, how would I detect if the search form button has been submitted? I have the search results returned in the index ok, but I like to conditionally show the number of records only when the button has been pressed.

Thanks,

Joe

Ok, I figured it out.