This project is archived and is in readonly mode.

#6363 ✓ committed
Takuya Okamoto

scaffold problem when using certain words

Reported by Takuya Okamoto | February 2nd, 2011 @ 02:49 PM

Hi,

I found a bug when using scaffold in Rails 3.0.3.

Example:

$ rails new rails3
$ cd rails3 
rails3$ rails g scaffold stadium name:string

This command creates a file like the following...

rails3/app/views/stadia$ less new.html.erb
<h1>New stadium</h1>
<%= render 'form' %>
<%= link_to 'Back', stadias_path %>

link_to helper has "stadias_path". but I think, "stadia_path" is correct.

Please check it.

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 »

Tickets have moved to Github

The new ticket tracker is available at https://github.com/rails/rails/issues

Shared Ticket Bins

Referenced by

Pages