PDA

View Full Version : Routing error Recognition failed for


clem_c_rock
December 11th, 2006, 10:49 PM
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