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