rails3 설정 exception notifier

505 단어 Gmail
gem install exception 설치notification_rails3
 
Gemfile
gem "exception_notification",:require => 'exception_notifier'
 
 
config/application.rb
    config.middleware.use ExceptionNotifier,
      :email_prefix => "[Corey] ",
      :sender_address => %{"notifier" <[email protected]>},
      :exception_recipients => %w{[email protected]}

 

좋은 웹페이지 즐겨찾기