refactor ransack search form