in rails 4.0.0 and ruby 2.0.0