Skip to content

Instantly share code, notes, and snippets.

@chuckbergeron
Last active December 31, 2015 16:58
Show Gist options
  • Save chuckbergeron/8016859 to your computer and use it in GitHub Desktop.
Save chuckbergeron/8016859 to your computer and use it in GitHub Desktop.
1. Was receiving this strange error:
undefined method 'action_view' for #<Rails::Railtie::Configuration...
Had to add this to the top of `config/application.rb`:
require "action_view/railtie"
2. ActionMailer URL host config not being setup correctly:
config.action_mailer.default_url_options = {host: "s.caliper.io"}
Rails.application.config.action_mailer.default_url_options
=> {:host=>"s.caliper.io"}
ActionMailer::Base.default_url_options
=> {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment