A list of rails questions
To avoid repeating myself, this post is a compilation of questions and answers on rails in tweets.
if you still donno, FATAL: role “postgres” does not exist (PG::ConnectionBad) means you need to run `createuser -s -r postgres` #rails
— ytbryan (@ytbryan) October 28, 2015
Use && instead of ‘and’ because && precedes ‘and’. If you want to use ‘and’, bear in mind the precedence. Same for ‘Or’ with || #ruby
— ytbryan (@ytbryan) November 19, 2015