3. Controller 3/7: get "/messages" => "messages#index"

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”

Any help! :wink:

Hi @blogrockstar35175,

Please consult these links for a solution:

Pages_controller.rb not in folder
Tzinfo-data error
Browser not working

1 Like

Were you able to solve the issue? I think the mod’s answer is irrelevant.

Hey guys, thanks for the quick replies. i havent been able to solve it even with what the MOD suggested.

I’m gonna reset my progress and start all over again… lets see what happens this time…

I solved the issue by resetting my progress and starting all over again. I did run into some new issues with rake db:migrate and rake db:seed and solved it by running the commands like this:

bundle exec rake db:migrate
bundle exec rake db:seed

Cheers!

3 Likes

This topic is solved.