This project is archived and is in readonly mode.

#4817 ✓duplicate
Throlkim

Uncountable inflections routing exception in beta 4

Reported by Throlkim | June 10th, 2010 @ 08:13 AM

I seem to be having the same problem as described previously with uncountable inflections causing a routing error with scaffolding.

Generating a scaffold for 'research' gave me the following error when I tried to go to Research#new

ActionController::RoutingError in Research#new
No route matches {:action=>"destroy", :controller=>"research"}
Extracted source (around line [#1](/projects/8994/tickets/1 "Ticket [#1](/projects/8994/tickets/1 "Ticket #1")")):

1: <%= form_for @research, :as => :research do |f| %>
2:   <% if @research.errors.any? %>
3:     <div id="error_explanation">
4:       <h2><%= pluralize(@research.errors.count, "error") %> prohibited this research from being saved:</h2>

I've posted this as a new issue due to the original one being marked as resolved, and I was unsure as to whether anyone will notice that this is still happening.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages