change back to rails casts