Closed drkaleem closed 3 years ago
FYI. the issue is with the use of Rails.application.class.parent_name class. Starting Rails 6 its now Rails.application.class.module_parent_name
I will fix this and push an update in about 1.5hrs
Thanks
On 31/03/2021 16:46 drkaleem ***@***.***> wrote: FYI. the issue is with the use of Rails.application.class.parent_name class. Starting Rails 6 its now Rails.application.class.module_parent_name — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/richpeck/exception_handler/issues/100#issuecomment-811170545 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AAINUL2IZOHNIS5JZGCSWQLTGM7XBANCNFSM42E6FTLA .
This was pushed with a new release (0.8.0.1
).
Error during failsafe response: undefined method
parent_name' for gchitt::Application:Class /usr/share/rvm/gems/ruby-3.0.0/gems/railties-6.1.3/lib/rails/railtie.rb:209:in
method_missing' /usr/share/rvm/gems/ruby-3.0.0/gems/exception_handler-0.8.0.0/app/views/layouts/exception.html.erb:6:in__usr_share_rvm_gems_ruby_______gems_exception_handler_________app_views_layouts_exception_html_erb___2040302005256383136_67380' /usr/share/rvm/gems/ruby-3.0.0/gems/actionview-6.1.3/lib/action_view/base.rb:247:in
public_send' /usr/share/rvm/gems/ruby-3.0.0/gems/actionview-6.1.3/lib/action_view/base.rb:247:in_run' /usr/share/rvm/gems/ruby-3.0.0/gems/actionview-6.1.3/lib/action_view/template.rb:154:in
block in render' /usr/share/rvm/gems/ruby-3.0.0/gems/activesupport-6.1.3/lib/active_support/notifications.rb:205:ininstrument' /usr/share/rvm/gems/ruby-3.0.0/gems/actionview-6.1.3/lib/action_view/template.rb:345:in
instrument_render_template' /usr/share/rvm/gems/ruby-3.0.0/gems/actionview-6.1.3/lib/action_view/template.rb:152:inrender' /usr/share/rvm/gems/ruby-3.0.0/gems/actionview-6.1.3/lib/action_view/renderer/template_renderer.rb:72:in
block in render_with_layout'