First, add pry-rails to your Gemfile:
https://github.com/rweng/pry-rails
gem 'pry-rails', group: :developmentThen you'll want to rebuild your Docker container to install the gems
| # remap prefix from 'C-b' to 'C-a' | |
| unbind C-b | |
| set-option -g prefix C-a | |
| bind-key C-a send-prefix | |
| # switch panes using Alt-arrow without prefix | |
| # bind -n M-h select-pane -L | |
| # bind -n M-l select-pane -R | |
| # bind -n M-k select-pane -U | |
| # bind -n M-j select-pane -D |
| class User < ApplicationRecord | |
| has_many :user_todo_lists | |
| has_many :todo_lists, through: :user_todo_lists | |
| has_many :todos, through: :todo_lists | |
| end | |
| class UserTodoList < ApplicationRecord | |
| belongs_to :user | |
| belongs_to :todo_list | |
| end |
First, add pry-rails to your Gemfile:
https://github.com/rweng/pry-rails
gem 'pry-rails', group: :developmentThen you'll want to rebuild your Docker container to install the gems
In your command-line run the following commands:
brew doctorbrew update