updating dummy to rails 4