Finished 370 ransack for searching

Fixed #275