test if works rails 4