Sometimes you use e.g. @comment in a .html.erb and sometimes just comment. It seems that in the erb, the instance variables from the controller are automatically mapped to local variables. But what is the rule? When are they and when are they not?
Back to getting this to work. Kind of dead in the water with this error: /Users/pitosalas/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/redis-4.2.5/lib/redis/client.rb:367:in `rescue in establish_connection': Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED) (Redis::CannotConnectError)
What causes Redis to run? I didn't see any step that required me to do that. Is that what's wrong?
never mind. I noticed that I literally didn't have Redis running, I was assuming that rails somehow took care of that. I would've deleted my question, but in case someone else hit that I thought I would leave it in!
Confused: are you running ubuntu or macos? It looks like you have an Ubuntu desktop and work there but at the start you say something about dowloading the right version of ubuntu because you are on a mac. Could you clarify?
I haven't used your "template" starting point before. It seems to have devise built in and some generator bootstrap magic. I am sure much more. Can you point me to any doc about it? Thanks.