Routing error Recognition failed for

Hello,

I’ve been running a bunch of rails tutorials trying to run ruby and I’ve
always been successful when I created controllers using the ruby
script/generate controller Trials. Then suddenly, when I do it in the
ruby programming environment in my code branch, I get this routing
error:

Recognition failed for “/trials”

Here’s my controller that was created:


class TrialsController < ApplicationController def index flash[:notice]
= 'This is def index trials_controller' end end

All the other scripts are working fine on my localhost machine.

Just don’t get it

As a stab in the dark, what happens if you use “/Trails” instead of
“/trails”? There isn’t much more to go on. I don’t remember if its
case sensitive and I am don’t have rails setup at work, so I can test
for you.