Ransack merge