Rails schema merge method