fix #11
bump rails to 4.0.0