There is a deprecated div_for method call in the reference display partial. It's causing the profile page to fail when the user has a reference. https://alpha.joatu.org/en/profiles/65. This method call exists in other views as well so should be removed entirely.
2019-04-23T18:31:43.582902+00:00 app[web.1]: [934c7a1e-f9d8-4a9b-8c0e-61123ca331b0] Rendered references/_reference.html.haml (1.7ms)
2019-04-23T18:31:43.583192+00:00 app[web.1]: [934c7a1e-f9d8-4a9b-8c0e-61123ca331b0] Rendered profiles/show.html.haml within layouts/application (51.5ms)
2019-04-23T18:31:43.583348+00:00 app[web.1]: [934c7a1e-f9d8-4a9b-8c0e-61123ca331b0] Rendered layouts/application.html.haml (52.2ms)
2019-04-23T18:31:43.583805+00:00 app[web.1]: [934c7a1e-f9d8-4a9b-8c0e-61123ca331b0] Completed 500 Internal Server Error in 159ms
2019-04-23T18:31:43.586851+00:00 app[web.1]: [934c7a1e-f9d8-4a9b-8c0e-61123ca331b0]
2019-04-23T18:31:43.586930+00:00 app[web.1]: [934c7a1e-f9d8-4a9b-8c0e-61123ca331b0] ActionView::Template::Error (The `div_for` method has been removed from Rails. To continue using it, add the `record_tag_helper` gem to your Gemfile:
2019-04-23T18:31:43.586933+00:00 app[web.1]: gem 'record_tag_helper', '~> 1.0'
2019-04-23T18:31:43.586935+00:00 app[web.1]: Consult the Rails upgrade guide for details.):
2019-04-23T18:31:43.587138+00:00 app[web.1]: [934c7a1e-f9d8-4a9b-8c0e-61123ca331b0] 1: = div_for reference, class: "panel panel-default" do
2019-04-23T18:31:43.587146+00:00 app[web.1]: [934c7a1e-f9d8-4a9b-8c0e-61123ca331b0] 2: .panel-heading
2019-04-23T18:31:43.587164+00:00 app[web.1]: [934c7a1e-f9d8-4a9b-8c0e-61123ca331b0] 3: - if reference.from_user.profile.present? && reference.from_user.profile.id.present?
2019-04-23T18:31:43.587167+00:00 app[web.1]: [934c7a1e-f9d8-4a9b-8c0e-61123ca331b0] 4: = link_to profile_path(id: reference.from_user.profile.id) do
2019-04-23T18:31:43.587227+00:00 app[web.1]: [934c7a1e-f9d8-4a9b-8c0e-61123ca331b0]
2019-04-23T18:31:43.587296+00:00 app[web.1]: [934c7a1e-f9d8-4a9b-8c0e-61123ca331b0] app/views/references/_reference.html.haml:1:in `_app_views_references__reference_html_haml__236368167932857158_69974146295320'
2019-04-23T18:31:43.587299+00:00 app[web.1]: [934c7a1e-f9d8-4a9b-8c0e-61123ca331b0] app/views/profiles/show.html.haml:39:in `block in _app_views_profiles_show_html_haml__2851108859264288886_69974147510580'
2019-04-23T18:31:43.587301+00:00 app[web.1]: [934c7a1e-f9d8-4a9b-8c0e-61123ca331b0] app/views/profiles/show.html.haml:38:in `_app_views_profiles_show_html_haml__2851108859264288886_69974147510580'
2019-04-23T18:31:43.587303+00:00 app[web.1]: [934c7a1e-f9d8-4a9b-8c0e-61123ca331b0] app/controllers/profiles_controller.rb:21:in `show'
There is a deprecated
div_for
method call in thereference
display partial. It's causing the profile page to fail when the user has a reference. https://alpha.joatu.org/en/profiles/65. This method call exists in other views as well so should be removed entirely.