trying to get table to hide relevantly
upgraded to advanced ransack search