Rails 3.2.15 and 4.0.1