add search with active record .where