GithubHelp home page GithubHelp logo

Comments (4)

ejalbos avatar ejalbos commented on May 28, 2024

NOTE: I was able to get this to work by following the soln here:
http://stackoverflow.com/questions/5389754/custom-partials-in-exception-notification-in-rails-3

Specifically, I added

ExceptionNotifier::Notifier.prepend_view_path File.join(Rails.root, 'app/views')

into an initializer.

Is this the way it's supposed to be done or am I just masking an issue with the gem code (note that I did not have to do that with the regular notification, just when I started using the background notification)?

from exception_notification.

smartinez87 avatar smartinez87 commented on May 28, 2024

@ejalbos just commited the fix for this issue. Please let me know if is good now. You shouldn't have to add that line to an initializer.
If you confirm this is fixed I'll release 2.6.1 with it.
Thanks!

from exception_notification.

ejalbos avatar ejalbos commented on May 28, 2024

@smartinez87 - CONFIRMED

Just checked and it appears to work now.
I have the initializer line commented out and am doing a git reference in my Gemfile to get this latest code.

Now when I trigger the background notification it indeed finds the special section in my app/views.

Thx for the quick response.

As soon as 2.6.1 is released I'll reference it instead (hopefully soon as we have a release code freeze Monday, though I can workaround with that initializer line if need be).

Thx again (and thx for such a useful gem).

from exception_notification.

smartinez87 avatar smartinez87 commented on May 28, 2024

@ejalbos just released 2.6.1.
Thanks for reporting the issue!

from exception_notification.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.