Removed error in Rails 3.2