I have seen this topic a lot of times but non of the answers work for me, this is the error when i add the route get “/messages” => “messages#index” :
Error: "Oops! The test returned an error. Maybe you have a syntax error, or a typo. Hide error.
/home/ccuser/.gem/ruby/2.3.0/gems/activesupport-4.1.1/lib/active_support/values/time_zone.rb:285: warning: circular argument reference - now
Alternatives that also didnt work:
get “/message” => “messages#index”
get “messages” => “messages#index”
get “message” => “messages#index”