My Rails / Ruby troubleshoot solutions
ActionView::Template::Error: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true
Add to the following files in environment
test.rb / development.rb / production.rb
Rails.application.routes.default_url_options[:host] = 'host.com'
undefined method …_index_path