update to rails 4,debug rails 4