using rails 4.0.0 and ruby1.9.3