adhocteam / dhsflash

Ad Hoc's submission to the DHS FLASH Technical Challenge Exercise
Apache License 2.0
1 stars 0 forks source link

devse error on registration #49

Closed cgansen closed 8 years ago

cgansen commented 8 years ago

observed on staging host after I tried to register an account:

I, [2016-09-01T23:02:24.768039 #5789]  INFO -- : [ea6bdcec-eef8-48a0-beb0-610541baa960]   Rendering devise/mailer/confirmation_instructions.html.erb
I, [2016-09-01T23:02:24.769213 #5789]  INFO -- : [ea6bdcec-eef8-48a0-beb0-610541baa960]   Rendered devise/mailer/confirmation_instructions.html.erb (1.1ms)
D, [2016-09-01T23:02:24.769308 #5789] DEBUG -- : [ea6bdcec-eef8-48a0-beb0-610541baa960] Devise::Mailer#confirmation_instructions: processed outbound mail in 6.5ms
I, [2016-09-01T23:02:24.769494 #5789]  INFO -- : [ea6bdcec-eef8-48a0-beb0-610541baa960] Completed 500 Internal Server Error in 669ms (ActiveRecord: 10.2ms)
F, [2016-09-01T23:02:24.770652 #5789] FATAL -- : [ea6bdcec-eef8-48a0-beb0-610541baa960]
F, [2016-09-01T23:02:24.770692 #5789] FATAL -- : [ea6bdcec-eef8-48a0-beb0-610541baa960] ActionView::Template::Error (Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true):
F, [2016-09-01T23:02:24.770815 #5789] FATAL -- : [ea6bdcec-eef8-48a0-beb0-610541baa960]     2:
F, [2016-09-01T23:02:24.770840 #5789] FATAL -- : [ea6bdcec-eef8-48a0-beb0-610541baa960]     3: <p>You can confirm your account email through the link below:</p>
F, [2016-09-01T23:02:24.770855 #5789] FATAL -- : [ea6bdcec-eef8-48a0-beb0-610541baa960]     4:
F, [2016-09-01T23:02:24.770869 #5789] FATAL -- : [ea6bdcec-eef8-48a0-beb0-610541baa960]     5: <p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p>
F, [2016-09-01T23:02:24.770883 #5789] FATAL -- : [ea6bdcec-eef8-48a0-beb0-610541baa960]
F, [2016-09-01T23:02:24.770896 #5789] FATAL -- : [ea6bdcec-eef8-48a0-beb0-610541baa960] app/views/devise/mailer/confirmation_instructions.html.erb:5:in `_app_views_devise_mailer_confirmation_instructions_html_erb___2809938067496548427_47359786903580'
benkutil commented 8 years ago

for your non-scrolling pleasure, I think it needs:

ActionView::Template::Error (Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true):
cgansen commented 8 years ago

oh! @aub fixed this.