merge rails with sphinx