There are no reviews yet. Be the first to send feedback to the community and the maintainers!
= Exception Notifier Plugin for Rails The Exception Notifier plugin provides a mailer object and a default set of templates for sending email notifications when errors occur in a Rails application. The plugin is configurable, allowing programmers to specify: * the sender address of the email * the recipient addresses * the text used to prefix the subject line The email includes information about the current request, session, and environment, and also gives a backtrace of the exception. == Usage As of Rails 3 ExceptionNotifier is used as a rack middleware Whatever::Application.config.middleware.use ExceptionNotifier, :email_prefix => "[Whatever] ", :sender_address => %{"notifier" <[email protected]>}, :exception_recipients => %w{[email protected]} == Customization By default, the notification email includes four parts: request, session, environment, and backtrace (in that order). You can customize how each of those sections are rendered by placing a partial named for that part in your app/views/exception_notifier directory (e.g., _session.rhtml). Each partial has access to the following variables: * @controller: the controller that caused the error * @request: the current request object * @exception: the exception that was raised * @backtrace: a sanitized version of the exception's backtrace * @data: a hash of optional data values that were passed to the notifier * @sections: the array of sections to include in the email You can reorder the sections, or exclude sections completely, by altering the ExceptionNotifier.sections variable. You can even add new sections that describe application-specific data--just add the section's name to the list (whereever you'd like), and define the corresponding partial. Then, if your new section requires information that isn't available by default, make sure it is made available to the email using the exception_data macro: class ApplicationController < ActionController::Base before_filter :log_additional_data ... protected def log_additional_data request.env["exception_notifier.exception_data"] = { :document => @document, :person => @person } end ... end In the above case, @document and @person would be made available to the email renderer, allowing your new section(s) to access and display them. See the existing sections defined by the plugin for examples of how to write your own. == Notification After an exception notification has been delivered the rack environment variable 'exception_notifier.delivered' will be set to +true+. == Rails 2.3 stable and earlier If you are running Rails 2.3 then see the branch for that: http://github.com/rails/exception_notification/tree/2-3-stable If you are running pre-rack Rails then see this tag: http://github.com/rails/exception_notification/tree/pre-2-3 == Support and tickets https://rails.lighthouseapp.com/projects/8995-rails-plugins Copyright (c) 2005 Jamis Buck, released under the MIT license
rails
Ruby on Railswebpacker
Use Webpack to manage app-like JavaScript modules in Railsthor
Thor is a toolkit for building powerful command-line interfaces.jbuilder
Jbuilder: generate JSON objects with a Builder-style DSLspring
Rails application preloaderjquery-ujs
Ruby on Rails unobtrusive scripting adapter for jQueryrails-dev-box
A virtual machine for Ruby on Rails core developmentsolid_queue
Database-backed Active Job backendtailwindcss-rails
kredis
Higher-level data structures built on Redisactiveresource
Connects business objects and REST web servicesdocked
Running Rails from Docker for easy start to developmentstrong_parameters
Taint and required checking for Action Pack and enforcement in Active Modelglobalid
Identify app models with a URIactioncable
Framework for real-time communication over websocketsimportmap-rails
Use ESM with importmap to manage modern JavaScript in Rails without transpiling or bundling.jquery-rails
A gem to automate using jQuery with Railssprockets
Rack-based asset packaging systemsass-rails
Ruby on Rails stylesheet engine for Sasspropshaft
Deliver assets for Railssdoc
Standalone sdoc generatorjsbundling-rails
Bundle and transpile JavaScript in Rails with esbuild, rollup.js, or Webpack.solid_cache
A database-backed ActiveSupport::Cache::Storerails-perftest
Benchmark and profile your Rails appsactivejob
Declare job classes that can be run by a variety of queueing backendsactivestorage
Store files in Rails applicationspjax_rails
PJAX integration for Railsactioncable-examples
Action Cable Examplescache_digests
sprockets-rails
Sprockets Rails integrationcssbundling-rails
Bundle and process CSS in Rails with Tailwind, PostCSS, and Sass via Node.js.activerecord-session_store
Active Record's Session Store extracted from Railsexecjs
Run JavaScript code from Rubyrails-observers
Rails observer (removed from core in Rails 4.0)mission_control-jobs
Dashboard and Active Job extensions to operate and troubleshoot background jobsactiontext
Edit and display rich text in Rails applicationsrequest.js
acts_as_list
NOTICE: official repository moved to https://github.com/swanandp/acts_as_listmarcel
Find the mime type of files, examining file, filename and declared typerubocop-rails-omakase
Omakase Ruby styling for Railsactionpack-page_caching
Static page caching for Action Pack (removed from core in Rails 4.0)commands
Run Rake/Rails commands through the consolessl_requirement
NOTICE: official repository moved to https://github.com/retr0h/ssl_requirementrails-controller-testing
Brings back `assigns` and `assert_template` to your Rails testsrails-html-sanitizer
open_id_authentication
NOTICE: official repository moved to https://github.com/Velir/open_id_authenticationacts_as_tree
NOTICE: official repository moved to https://github.com/amerine/acts_as_treeactionpack-action_caching
Action caching for Action Pack (removed from core in Rails 4.0)in_place_editing
NOTICE: official repository moved to https://github.com/amerine/in_place_editingprotected_attributes
Protect attributes from mass-assignment in ActiveRecord models.journey
A router for railsauto_complete
NOTICE: official repository moved to https://github.com/david-kerins/auto_completedartsass-rails
Integrate Dart Sass with the asset pipeline in Railsdynamic_form
NOTICE: official repository moved to https://github.com/joelmoss/dynamic_formsolid_cable
A database backed ActionCable adaptercountry_select
NOTICE: official repository moved to https://github.com/stefanpenner/country_selectrails-dom-testing
Extracting DomAssertions and SelectorAssertions from ActionView.routing_concerns
Abstract common routing resource concerns to cut down on duplication.esbuild-rails
Bundle and transpile JavaScript in Rails with esbuildrails-contributors
The web application that runs https://contributors.rubyonrails.orgrails-new
Create Rails projects with Ruby installedactionmailbox
Receive and process incoming emails in Railsrequestjs-rails
activemodel-globalid
Serializing models to a single string makes it easy to pass references aroundaccount_location
NOTICE: official repository moved to https://github.com/bbommarito/account_locationacts_as_nested_set
NOTICE: official repository moved to https://github.com/bbommarito/acts_as_nested_setiso-3166-country-select
WARNING: this repo is not maintained anymore, if you want to maintain it, please send an mail to rails-coreactiverecord-deprecated_finders
spring-watcher-listen
website
weblog
Superseded by https://github.com/rails/websiteprototype-ujs
prototype_legacy_helper
WARNING: this repo is not maintained anymore, if you want to maintain it, please send an mail to rails-coreverification
NOTICE: official repository moved to https://github.com/sikachu/verificationprototype-rails
Add RJS, Prototype, and Scriptaculous helpers to Rails 3.1+ appsactivemodel-serializers-xml
record_tag_helper
ActionView Record Tag Helpershomepage
Superseded by https://github.com/rails/websiterollupjs-rails
Bundle and transpile JavaScript in Rails with rollup.jsactionpack-xml_parser
XML parameters parser for Action Pack (removed from core in Rails 4.0)activesupport-json_encoder
etagger
Declare what goes in to your ETags: asset versions, account ID, etc.upload_progress
NOTICE: official repository moved to https://github.com/rishav/upload_progressdevcontainer
atom_feed_helper
NOTICE: official repository moved to https://github.com/TrevorBramble/atom_feed_helperrender_component
NOTICE: official repository moved to https://github.com/malev/render_component. Components allow you to call other actions for their rendered response while executing another actiongsoc2014
Project website and wiki for Ruby on Rails proposals to Google Summer of Code 2014gsoc2013
Project website and wiki for Ruby on Rails proposals to Google Summer of Code 2013ruby-coffee-script
Ruby CoffeeScript Compilerasset_server
NOTICE: official repository moved to https://github.com/andhapp/asset_serverhomepage-2011
This repo is now legacy. New homepage is at rails/homepagedeadlock_retry
NOTICE: official repository moved to https://github.com/heaps/deadlock_retryrails-docs-server
token_generator
NOTICE: official repository moved to https://github.com/bbommarito/token_generatorhttp_authentication
NOTICE: official repository moved to https://github.com/dshimy/http_authenticationirs_process_scripts
WARNING: this repo is not maintained anymore, if you want to maintain it, please send an mail to rails-core. The extracted inspector, reaper, and spawner scripts from script/process/*javascript_test
WARNING: this repo is not maintained anymore, if you want to maintain it, please send an mail to rails-corebuildkite-config
Fallback configuration for branches that lack a .buildkite/ directoryscriptaculous_slider
WARNING: this repo is not maintained anymore, if you want to maintain it, please send an mail to rails-corerequest_profiler
WARNING: this repo is not maintained anymore, if you want to maintain it, please send an mail to rails-core. Request profiler based on integration test scriptsLove Open Source and this site? Check out how you can help us