I'm using postgresql installed by brew. which I believe is running on default port 5234. Your vid explains I can set a new ip in my case 127.0.0.1:3000 where my rails app run. My questions is how do I make my rails app, postgressql db, and redis server all sing together? Thank you!
After creating a visitors controller for my example app to go along with this vid. I got this error
cdb:redis adsr13$ bin/rails rails g controller visitors index
rails aborted!
TypeError: Redis is not a module
/Users/adsr13/Google Drive/workspace/redis/config/application.rb:9:in `<top (required)>'
/Users/adsr13/Google Drive/workspace/redis/Rakefile:4:in `require_relative'
/Users/adsr13/Google Drive/workspace/redis/Rakefile:4:in `<top (required)>'
Please advise?
Rails 5 eliminates the necessity to call for 'rake db:migrate' to migrate a database. 'bin/rails or rails db:migrate is suffice. All 'rake' tasks are built into the 'rails' command. You may find this information to be valid here:
https://www.youtube.com/watch?v=OaDhY_y8WTo