Giter Club home page Giter Club logo

errbit's Introduction

Errbit CircleCI Code Climate Coveralls Deploy

The open source, self-hosted error catcher

Errbit is a tool for collecting and managing errors from other applications. It is Airbrake API compliant, so you can just point the airbrake gem to your Errbit server (see howto).

Apps
Apps
Errors
Errors
Error Summary
Error Summary
Error Backtraces
Error Backtraces

Mailing List

Join the Google Group at https://groups.google.com/group/errbit to receive updates and notifications.

Requirements

The list of requirements to install Errbit are:

  • Ruby 2.7
  • MongoDB >= 4.0.x

Installation

Note: This app is intended for people with experience deploying and maintaining Rails applications.

  • Install MongoDB
  • git clone https://github.com/errbit/errbit.git
  • bundle install
  • bundle exec rake errbit:bootstrap
  • bundle exec rails server

Configuration

Errbit configuration is done entirely through environment variables. See configuration

Deployment

See notes on deployment

Notice Grouping

The way Errbit arranges notices into error groups is configurable. By default, Errbit uses the notice's error class, error message, complete backtrace, component (or controller), action and environment name to generate a unique fingerprint for every notice. Notices with identical fingerprints appear in the UI as different occurences of the same error and notices with differing fingerprints are displayed as separate errors.

Changing the fingerprinter (under the "Config" menu) applies to all apps and the change affects only notices that arrive after the change. If you want to refingerprint old notices, you can run rake errbit:notice_refingerprint.

Since version 0.7.0, the notice grouping can be separately configured for each app (under the "edit" menu).

Managing apps

An Errbit app is a place to collect error notifications from your external application deployments.

See apps

Authentication

Configuring GitHub authentication:

If you host Errbit at errbit.example.com, you would fill in:

URL
http://errbit.example.com
Callback URL
http://errbit.example.com/users/auth/github/callback
  • After you have registered your app, set GITHUB_CLIENT_ID and GITHUB_SECRET with your app's Client ID and Secret key.

When you start your application, you should see the option to Sign in with GitHub on the Login page. You will also be able to link your GitHub profile to your user account on your Edit profile page.

If you have signed in with GitHub, or linked your GitHub profile, and you're working with an App that has a GitHub repo configured, then you will be able to create issues on GitHub. If you use another issue tracker, see Issue Trackers.

You can change the OAuth scope Errbit requests from GitHub by setting GITHUB_ACCESS_SCOPE. The default ['repo'] is very permissive, but there are a few others that could make sense for your needs:

GITHUB_ACCESS_SCOPE="['repo']"
Allow creating issues for public and private repos
GITHUB_ACCESS_SCOPE="['public_repo']"
Allow creating issues for public repos only
GITHUB_ACCESS_SCOPE="[]"
No permissions at all, but allows errbit login through github
  • GITHUB_ORG_ID is an optional environment variable you can set to your own github organization id. If set, only users of the specified GitHub organization can log in to Errbit through GitHub. Errbit will provision accounts for new users.

Configuring Google authentication:

If you host Errbit at errbit.example.com, you would fill in:

URL
http://errbit.example.com
Callback URL
http://errbit.example.com/users/auth/google_oauth2/callback
  • After you have registered your app, set GOOGLE_CLIENT_ID and GOOGLE_SECRET with your app's Client ID and Secret key.

When you start your application, you should see the option to Sign in with Google on the Login page. You will also be able to link your Google profile to your user account on your Edit profile page.

Configuring LDAP authentication:

  • Set ERRBIT_USER_HAS_USERNAME=true
  • Follow the devise_ldap_authenticatable setup instructions.
  • Set config.ldap_create_user = true in config/initializers/devise.rb, this enables creating the users from LDAP, otherwhise login will not work.
  • Create a new initializer (e.g. config/initializers/devise_ldap.rb) and add the following code to enable ldap authentication in the User-model:
Errbit::Config.devise_modules << :ldap_authenticatable
  • If you are authenticating by username, you will need to set the user's email manually before authentication. You must add the following lines to app/models/user.rb:
  def ldap_before_save
    name = Devise::LDAP::Adapter.get_ldap_param(self.username, "givenName")
    surname = Devise::LDAP::Adapter.get_ldap_param(self.username, "sn")
    mail = Devise::LDAP::Adapter.get_ldap_param(self.username, "mail")

    self.name = (name + surname).join ' '
    self.email = mail.first
  end
  • Now login with your user from LDAP, this will create a user in the database
  • Open a rails console and set the admin flag for your user:
user = User.first
user.admin = true
user.save!

Upgrading

When upgrading Errbit, please run:

git pull origin main # assuming origin is the github.com/errbit/errbit repo
bundle install
rake db:migrate
rake db:mongoid:remove_undefined_indexes
rake db:mongoid:create_indexes
rake assets:precompile

This will ensure that your application stays up to date with any schema changes.

There are additional steps if you are upgrading from a version prior to v0.4.0.

User information in error reports

Errbit can now display information about the user who experienced an error. This gives you the ability to ask the user for more information, and let them know when you've fixed the bug.

The Airbrake gem will look for current_user or current_member. By default it will only send the id of the user, to specify other attributes you can set config.user_attributes. See the Airbrake wiki for more information.

If user information is received with an error report, it will be displayed under the User Details tab:

User details tab

This tab will be hidden if no user information is available.

Configuration

https://github.com/airbrake/airbrake

Javascript error notifications

You can log javascript errors that occur in your application by including the airbrake-js javascript library.

Install airbrake-js according to the docs at and set your project and host as soon as you want to start reporting errors. Then follow along with the documentation at https://github.com/airbrake/airbrake-js/blob/master/README.md

var airbrake = new airbrakeJs.Client({
  projectId: 'ERRBIT API KEY',
  projectKey: 'ERRBIT API KEY (again)',
  reporter: 'xhr',
  remoteConfig: false,
  host: 'https://myerrbit.com'
});

Plugins and Integrations

You can extend Errbit by adding Ruby gems and plugins which are typically gems. It's nice to keep track of which gems are core Errbit dependencies and which gems are your own dependencies. If you want to add gems to your own Errbit, place them in a new file called UserGemfile and Errbit will treat that file as an additional Gemfile. If you want to use a file with a different name, you can pass the name of that file in an environment variable named USER_GEMFILE. If you want to use errbit_jira_plugin, just add it to UserGemfile:

echo "gem 'errbit_jira_plugin'" > UserGemfile
bundle install

Issue Trackers

Each issue tracker integration is implemented as a gem that depends on errbit_plugin. The only officially supported issue tracker plugin is errbit_github_plugin.

If you want to implement your own issue tracker plugin, read the README.md file at errbit_plugin.

What if Errbit has an error?

Errbit will log it's own errors to an internal app named Self.Errbit. The Self.Errbit app is automatically created when the first error happens.

If your Errbit instance has logged an error, we would appreciate a bug report on GitHub Issues. You can post this manually at https://github.com/errbit/errbit/issues, or you can set up the GitHub Issues tracker for your Self.Errbit app:

  • Go to the Self.Errbit app's edit page. If that app does not exist yet, go to the apps page and click Add a new App to create it. (You can also create it by running rake airbrake:test.)
  • In the Issue Tracker section, click GitHub Issues.
  • Fill in the Account/Repository field with errbit/errbit.
  • Fill in the Username field with your github username.
  • If you are logged in on GitHub, you can find your API Token on this page: https://github.com/account/admin.
  • Save the settings by clicking Update App (or Add App)
  • You can now easily post bug reports to GitHub Issues by clicking the Create Issue button on a Self.Errbit error.

Getting Help

If you need help, try asking your question on StackOverflow using the tag errbit: https://stackoverflow.com/questions/tagged/errbit

Use Errbit with applications written in other languages

In theory, any Airbrake-compatible error catcher for other languages should work with Errbit. Solutions known to work are listed below:

Language Project
PHP (>= 5.3) wasilak/errbit-php
OOP PHP (>= 5.3) emgiezet/errbitPHP
Python mkorenkov/errbit.py , pulseenergy/airbrakepy

People using Errbit

See our wiki page for a list of people and companies around the world who use Errbit. You may edit this page, and add your name and country to the list if you are using Errbit.

Special Thanks

See the contributors graph for more details.

Contributing to Errbit

See the contribution guidelines

Running tests

Check the .circleci/config.yml file to see how tests are run

Copyright

Copyright (c) 2010-2022 Errbit Team

errbit's People

Contributors

arthurnn avatar bjhess avatar boblail avatar burnettk avatar chulkilee avatar danielbeardsley avatar depfu[bot] avatar douglasdollars avatar dounokouno avatar felixbuenemann avatar jdpace avatar jmonteiro avatar joshdvir avatar jozefvaclavik avatar lest avatar luxflux avatar martinciu avatar mfrederickson avatar michaelparenteau avatar nashby avatar ndbroadbent avatar nfedyashev avatar oruen avatar otzy007 avatar rud avatar ryanjones avatar shingara avatar stevecrozz avatar teubanks avatar tricknotes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

errbit's Issues

Wrong association of error to application

I've got 2 application (each with their own app id) but they represent the production and staging instances of the same application. This means they raise the same exceptions (based on the fingerprint of the exception).

What I just discovered was that when i raised a specific exception on the production machine (new exception), it got associated with the production application. When i then raise the same exception on the staging machine, it also got associated with the production application even though the app_id (sent with the exception report) was of the staging instance.

I had a quick look through the code and i think it's: https://github.com/errbit/errbit/blob/master/app/models/app.rb#L83-85 which does not take the application id into account when searching for existing errors (the part before the '||').

The find_or_create_err!(attrs) method get called by ErrorReport with the following (https://github.com/errbit/errbit/blob/master/app/models/error_report.rb#L40-45):

err = app.find_or_create_err!(
  :klass => klass,
  :component => component,
  :action => action,
  :environment => rails_env,
  :fingerprint => fingerprint)

i.e. also no app id. So there is nothing limiting the search for existing errors to the current application.

Since i can repeat this quite easily, i'm going to have a look at fixing it by adding an extra where(...) to the find_or_create_err! method.

[production][errs#show] Mongo::OperationFailure: too much data for sort() with no index

See this exception on Errbit

Mongo::OperationFailure: too much data for sort() with no index

Summary

URL

http://errbit-central.heroku.com/apps/c0eefc4c89aa624218feb7450a3f2aac/errs/4e5a4580f5a46d0001000006"

Where

errs#show

Occured

Aug 28 8:30pm

Similar

6

Params

{
  "action" => "show",
  "app_id" => "c0eefc4c89aa624218feb7450a3f2aac",
  "controller" => "errs",
  "id" => "4e5a4580f5a46d0001000006"
}

Session

{
  "warden&#46;user&#46;user&#46;key" => "[\"User\", [\"4e48afc1d8895b0001000003\"], \"$2a$10$K6wZ4FxC5mOme8LLdwvNV.\"]"
}

Backtrace

101:  /.bundle/gems/ruby/1.9.1/gems/mongo-1.3.1/lib/mongo/cursor.rb -> **next_document**
248:  /.bundle/gems/ruby/1.9.1/gems/mongo-1.3.1/lib/mongo/cursor.rb -> **each**
48:  /.bundle/gems/ruby/1.9.1/gems/mongoid-2.0.2/lib/mongoid/cursor.rb -> **each**
178:  /.bundle/gems/ruby/1.9.1/gems/mongoid-2.0.2/lib/mongoid/contexts/mongo.rb -> **iterate**
116:  /.bundle/gems/ruby/1.9.1/gems/mongoid-2.0.2/lib/mongoid/criteria.rb -> **block in each**
116:  /.bundle/gems/ruby/1.9.1/gems/mongoid-2.0.2/lib/mongoid/criteria.rb -> **tap**
116:  /.bundle/gems/ruby/1.9.1/gems/mongoid-2.0.2/lib/mongoid/criteria.rb -> **each**
212:  /.bundle/gems/ruby/1.9.1/gems/mongoid-2.0.2/lib/mongoid/criteria.rb -> **entries**
212:  /.bundle/gems/ruby/1.9.1/gems/mongoid-2.0.2/lib/mongoid/criteria.rb -> **method_missing**
28:  [PROJECT_ROOT]/controllers/errs_controller.rb -> **show**
4:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal/implicit_render.rb -> **send_action**
150:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/abstract_controller/base.rb -> **process_action**
11:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal/rendering.rb -> **process_action**
18:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/abstract_controller/callbacks.rb -> **block in process_action**
450:  /.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/callbacks.rb -> **_run__3260721364188069069__process_action__4158870615743787770__callbacks**
409:  /.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/callbacks.rb -> **_run_process_action_callbacks**
93:  /.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/callbacks.rb -> **run_callbacks**
17:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/abstract_controller/callbacks.rb -> **process_action**
30:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal/instrumentation.rb -> **block in process_action**
52:  /.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/notifications.rb -> **block in instrument**
21:  /.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/notifications/instrumenter.rb -> **instrument**
52:  /.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/notifications.rb -> **instrument**
29:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal/instrumentation.rb -> **process_action**
17:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal/rescue.rb -> **process_action**
119:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/abstract_controller/base.rb -> **process**
41:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/abstract_controller/rendering.rb -> **process**
138:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal.rb -> **dispatch**
14:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal/rack_delegation.rb -> **dispatch**
178:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal.rb -> **block in action**
62:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb -> **call**
62:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb -> **dispatch**
27:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb -> **call**
148:  /.bundle/gems/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb -> **block in call**
93:  /.bundle/gems/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **block in recognize**
117:  /.bundle/gems/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **optimized_each**
92:  /.bundle/gems/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **recognize**
139:  /.bundle/gems/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb -> **call**
492:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb -> **call**
41:  /.bundle/gems/ruby/1.9.1/gems/haml-3.0.25/lib/sass/plugin/rack.rb -> **call**
35:  /.bundle/gems/ruby/1.9.1/gems/warden-1.0.5/lib/warden/manager.rb -> **block in call**
34:  /.bundle/gems/ruby/1.9.1/gems/warden-1.0.5/lib/warden/manager.rb -> **catch**
34:  /.bundle/gems/ruby/1.9.1/gems/warden-1.0.5/lib/warden/manager.rb -> **call**
17:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/best_standards_support.rb -> **call**
14:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/head.rb -> **call**
24:  /.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/methodoverride.rb -> **call**
21:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/params_parser.rb -> **call**
182:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/flash.rb -> **call**
149:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/session/abstract_store.rb -> **call**
302:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/cookies.rb -> **call**
46:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/callbacks.rb -> **block in call**
415:  /.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/callbacks.rb -> **_run_call_callbacks**
44:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/callbacks.rb -> **call**
107:  /.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/sendfile.rb -> **call**
48:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/remote_ip.rb -> **call**
47:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/show_exceptions.rb -> **call**
13:  /.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails/rack/logger.rb -> **call**
17:  /.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/runtime.rb -> **call**
11:  /.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/lock.rb -> **block in call**
:   -> ****
11:  /.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/lock.rb -> **call**
30:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/static.rb -> **call**
168:  /.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails[PROJECT_ROOT]lication.rb -> **call**
77:  /.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails[PROJECT_ROOT]lication.rb -> **method_missing**
9:  /home/heroku_rack/lib/static_assets.rb -> **call**
15:  /home/heroku_rack/lib/last_access.rb -> **call**
47:  /.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/urlmap.rb -> **block in call**
41:  /.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/urlmap.rb -> **each**
41:  /.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/urlmap.rb -> **call**
14:  /home/heroku_rack/lib/date_header.rb -> **call**
77:  /.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb -> **call**
84:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb -> **block in pre_process**
82:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb -> **catch**
82:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb -> **pre_process**
57:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb -> **process**
42:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb -> **receive_data**
256:  /.bundle/gems/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb -> **run_machine**
256:  /.bundle/gems/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb -> **run**
61:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/backends/base.rb -> **start**
159:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/server.rb -> **start**
86:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/controllers/controller.rb -> **start**
185:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/runner.rb -> **run_command**
151:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/runner.rb -> **run!**
6:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/bin/thin -> **<top (required)>**
19:  /usr/ruby1.9.2/bin/thin -> **load**
19:  /usr/ruby1.9.2/bin/thin -> **<main>**

Environment

SERVER_SOFTWARE: thin 1.2.11 codename Bat-Shit Crazy
SERVER_NAME: errbit-central.heroku.com
rack.input: #
rack.version: ["1", "0"]
rack.errors: #
rack.multithread: false
rack.multiprocess: false
rack.run_once: false
REQUEST_METHOD: GET
REQUEST_PATH: /apps/c0eefc4c89aa624218feb7450a3f2aac/errs/4e5a4580f5a46d0001000006
PATH_INFO: /apps/c0eefc4c89aa624218feb7450a3f2aac/errs/4e5a4580f5a46d0001000006
REQUEST_URI: /apps/c0eefc4c89aa624218feb7450a3f2aac/errs/4e5a4580f5a46d0001000006
HTTP_VERSION: HTTP/1.1
HTTP_X_VARNISH: 1191772499
HTTP_X_REAL_IP: 218.103.67.113
HTTP_X_FORWARDED_FOR: 218.103.67.113
HTTP_USER_AGENT: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0
HTTP_HOST: errbit-central.heroku.com
HTTP_COOKIE: __utma=111815579.571265825.1313382146.1313386749.1313409011.5; __utmz=111815579.1313409011.5.5.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=heroku; LOOPFUSE=fcf4f480-4f16-4071-a81c-89b1d65d5f25; km_dbg=0; km_ai=Dz5d92TB8o6Nz%2FCvUI%2BElbkkt%2BY%3D; remember_user_token=BAhbB1sGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVNpTWkBr2kBwWkB2GkBiWlgaQBpBmkAaQBpCEkiGUowY2d1ZTRDWlJUWWZRV1N5MjJ4BjoGRVQ%3D--8a02a30080f942a255055dc0a8e5a2091f10412a
HTTP_CONNECTION: close
HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_X_HEROKU_QUEUE_WAIT_TIME: 3
HTTP_X_HEROKU_QUEUE_DEPTH: 0
HTTP_X_HEROKU_DYNOS_IN_USE: 1
HTTP_X_REQUEST_START: 1314588629493
GATEWAY_INTERFACE: CGI/1.2
SERVER_PORT: 80
key: action_dispatch.request.flash_hash
SERVER_PROTOCOL: HTTP/1.1
rack.url_scheme: http
REMOTE_ADDR: 10.78.17.188
async.callback: #
async.close: #
action_dispatch.parameter_filter: ["password"]
action_dispatch.secret_token: 6b74778101638fa9c156b3928c9492fb2481ab842538bea838d21f9c9993f649f5806449584266d413d0b2f1104162b3066a86512ed71ededd627cd41f939614
action_dispatch.remote_ip: 218.103.67.113
rack.session: {"warden.user.user.key"=>"[\"User\", [\"4e48afc1d8895b0001000003\"], \"$2a$10$K6wZ4FxC5mOme8LLdwvNV.\"]"}
rack.session.options: {"path"=>"/", "key"=>"id", "secure"=>"false", "httponly"=>"true", "renew"=>"true"}
rack.request.cookie_string: __utma=111815579.571265825.1313382146.1313386749.1313409011.5; __utmz=111815579.1313409011.5.5.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=heroku; LOOPFUSE=fcf4f480-4f16-4071-a81c-89b1d65d5f25; km_dbg=0; km_ai=Dz5d92TB8o6Nz%2FCvUI%2BElbkkt%2BY%3D; remember_user_token=BAhbB1sGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVNpTWkBr2kBwWkB2GkBiWlgaQBpBmkAaQBpCEkiGUowY2d1ZTRDWlJUWWZRV1N5MjJ4BjoGRVQ%3D--8a02a30080f942a255055dc0a8e5a2091f10412a
rack.request.cookie_hash: {"__utma"=>"111815579.571265825.1313382146.1313386749.1313409011.5", "__utmz"=>"111815579.1313409011.5.5.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=heroku", "LOOPFUSE"=>"fcf4f480-4f16-4071-a81c-89b1d65d5f25", "km_dbg"=>"0", "km_ai"=>"Dz5d92TB8o6Nz/CvUI+Elbkkt+Y=", "remember_user_token"=>"BAhbB1sGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVNpTWkBr2kBwWkB2GkBiWlgaQBpBmkAaQBpCEkiGUowY2d1ZTRDWlJUWWZRV1N5MjJ4BjoGRVQ=--8a02a30080f942a255055dc0a8e5a2091f10412a"}
action_dispatch.cookies: {"__utma"=>"111815579.571265825.1313382146.1313386749.1313409011.5", "__utmz"=>"111815579.1313409011.5.5.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=heroku", "LOOPFUSE"=>"fcf4f480-4f16-4071-a81c-89b1d65d5f25", "km_dbg"=>"0", "km_ai"=>"Dz5d92TB8o6Nz/CvUI+Elbkkt+Y=", "remember_user_token"=>"BAhbB1sGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVNpTWkBr2kBwWkB2GkBiWlgaQBpBmkAaQBpCEkiGUowY2d1ZTRDWlJUWWZRV1N5MjJ4BjoGRVQ=--8a02a30080f942a255055dc0a8e5a2091f10412a"}
action_dispatch.request.unsigned_session_cookie: {"session_id"=>"cb5da1b8297a3d5e3dbdcf87787f964d"}
warden: Warden::Proxy:42675400 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :token_authenticatable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>Devise::FailureApp}
action_dispatch.request.path_parameters: {"action"=>"show", "controller"=>"errs", "app_id"=>"c0eefc4c89aa624218feb7450a3f2aac", "id"=>"4e5a4580f5a46d0001000006"}
action_controller.instance: #
action_dispatch.request.parameters: {"action"=>"show", "controller"=>"errs", "app_id"=>"c0eefc4c89aa624218feb7450a3f2aac", "id"=>"4e5a4580f5a46d0001000006"}
action_dispatch.request.formats: ["text/html"]

Resolve button does not work in Chrome

It seems like jquery-ujs is not properly working. When I click Resolve button no confirmation dialog is shown and route is called via GET instead of PUT causing a No route matches exception.

Error updating app name

If I try updating the name of an app it fails and generates an app error.

For example, if I have an app named foobar and try renaming it to foobarbaz, Errbit redirects me to /apps/foobarbaz. Since the update fails, /apps/foobarbaz generates a 404.

Started POST "/apps/foobar" for 127.0.0.1 at Wed Mar 09 21:22:19 -0500 2011
  Processing by AppsController#update as HTML
  Parameters: {"commit"=>"Update App", "app"=>{"watchers_attributes"=>{"0"=>{"user_id"=>"", "watcher_type"=>"user", "email"=>""}}, "resolve_errs_on_deploy"=>"0", "name"=>"foobarbaz"}, "authenticity_token"=>"FKyUbEVAnJMlVTyw6T0DJQB8BvvULHwXhPbAHb+1JPo=", "utf8"=>"✓", "id"=>"foobar"}
Redirected to http://example.net/apps/foobarbaz
Completed 302 Found in 7ms


Started GET "/apps/foobarbaz" for 127.0.0.1 at Wed Mar 09 21:22:19 -0500 2011
  Processing by AppsController#show as HTML
  Parameters: {"id"=>"foobarbaz"}
foobarbaz|
Completed   in 2ms

Mongoid::Errors::DocumentNotFound (Document not found for class App with id(s) foobarbaz.):
  app/controllers/apps_controller.rb:57:in `find_app'

I've tested in the console as well, with this code:

a = App.find('foobar')
a.name = 'foobarbaz'
a.save

It returns true, but the name has not actually been updated on the database. Any ideas?

Plaintext emails should not be HTML-escaped

Hello,

Errbit is automatically HTML-escaping some text in email notifications, like so:

An err has just occurred in production: NoMethodError: undefined method `key' for {&quot;English&quot;=&gt;&quot;en&quot;, &quot;Swahili&quot;=&gt;&quot;sw&quot;, &quot;Spanish&quot;=&gt;&quot;es&quot;}:Hash

These errors would much more intelligible if they were in true plaintext.

Thanks for the app! I'll try to work on a patch soon.

Ezra

Memory usage (notices)

Errbit managed to bring down my server by spawning 3 processes 1.2 GB of memory for each process when I accessed /errs (that was before the pagination fix - all errs were displayed on that page).

After investigation I tracked down the issue. The high memory usage stems from the fact
that Err embeds_many :notices and whenever you load an err it loads ALL embedded notices (even though they're not needed all at once on any page, only first notice is needed).

My instance of Errbit tracks 16 apps, 160 errs, some errs have 460 notices created. If you put it all together you get 700 MB per process on a 64-bit box (that's the latest master version from Github - including the pagination fix). I'd say that's a bit too much for a Rails app.

I've made some changes trying to optimise it. Basically I've excluded loading of notices if they're not needed and added err.notices_count instead of err.notices.count. You can see my changes here :

https://github.com/hosiawak/errbit/commit/1c4bd530990650012e2ecff9ba69531fe2082659

Speed and memory usage on /apps and /errs have improved dramatically (now it's 200MB per process and a few times faster to load) but viewing ErrsController#show still loads all notices (it goes up to 700 MB if an err has 400 notices created).

The solution is not ideal because it requires explicit exclusion of notices whenever you load an err using without(:notices). It also doesn't solve the atom formats problem (it loads all notices). I think there are 3 possible solutions to this:

  1. Exclude loading of notices whenever err is loaded (that's what I started above) and create
    something like Err embeds_one :first_notice and use that instead of err.notices.first
  2. Add support for lazy loading of embeds_many association to Mongoid
  3. Replace embedded notices with Err references_many :notices to prevent loading of all notices

IMO the best would be 3. (cleanest and wouldn't require to explicitly exclude loading of notices). I think the decision to use embedded notices even though they're never needed all at once wasn't the best one. I could start working on it but please let me know which option would be preferred in your opinion.

Thanks

Airbrake, Errbit and API v2.2

I had trouble when I switched to Airbrake gem, v3.0.2, which bumps the API version number to 2.2
To get it working, I simply changed the version number in lib/hoptoad.rb from 2.0 to 2.2 - things seem to be working OK so far.

Are there plans to update Errbit to match the renaming of things to Airbrake and support API versions >= 2.2 ?

heroku and default_url_options

I cann't set ActionMailer settings as described in README (with ERRBIT_HOST variable). The only way I found - is explicit setting in config/environvents/production.rb

Consider enforcing a hard limit on number of notices for a given Error

Found out that 1 or 2 of our 'problems' had over 8000 notices. Staging database had been offline for a day or so and the app was constantly firing off errors.

I think it might be a good idea to enforce a hard limit on the number of notices. I think even 500 occurrences would be more than enough information to solve the problem.
We could have a secondary counter on each error that is incremented for every notice after the first 500.
This would allow us to keep a record of how many times the error occurred, but we wouldn't need to store all of the data.

Select All

There should be a Select All/None control in the error listing so you can perform en masse actions much faster.

1.9.2 syntax

Hi,

I'm trying to install the latest errbit, and hitting errors because some templates are using 1.9.2 hash syntax. Are you still supporting 1.8.7? If so, I can send a pull request with the fix.

No email is sent for a resolved problem that has reoccurred

Unlike Airbrake, errbit does not send an email for a problem that has previously been resolved but is now occurring again. As a user, I would expect it to send an email. Additionally, I would expect that resolving a problem would reset the email_at_notices counter.

first user is created as non-admin

This is because admin field is attr_protected. Here's a fix:

--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -10,10 +10,11 @@ puts "-- email:    #{admin_email}"
 puts "-- password: #{admin_pass}"
 puts ""
 puts "Be sure to change these credentials ASAP!"
-User.create!({
+admin = User.new({
   :name                   => 'Errbit Admin',
   :email                  => admin_email,
   :password               => admin_pass,
   :password_confirmation  => admin_pass,
-  :admin                  => true
-})
\ No newline at end of file
+})
+admin.admin = true
+admin.save!

UI: Errors: how to up to the list of?

When I opened error in the errors list, and have moved to previous/next ones, there is no way to simply up to the list view.

I suppose that we need "Up" button in error view.

UI: line numbers and code lines don't line up

I found that using Safari "Version 5.0.4 (5533.20.27)", the line numbers and code get unaligned. it seems that the font size or line spacing are slightly different

unaligned

in the image, line 25 references to the green line.

Using mozilla 5.0.1, all is fine.

Set up Travis CI for Errbit (http://travis-ci.org/)

Hi jdpace, thanks for adding me as a collaborator!

Travis is a distributed build system for Continuous Integration (http://travis-ci.org/). Their vision is to become for builds (i.e. tests) what rubygems.org is for gems.

So every open source project on Github can get continuous integration for free!

I have committed .travis.yml, but won't be able to set up service hooks for Travis until errbit has moved to the new errbit organisation.
After Travis has been set up, we can add a 'Build Status' image to the README:

"!https://secure.travis-ci.org/errbit/errbit.png?branch=master!":http://travis-ci.org/errbit/errbit

Getting Mongo::ConnectionFailure after period of inactivity

We've got an instance of Errbit running on a remote server with unicorn. After starting it up, it works fine, but when I come back to it the next day (after getting no requests overnight) it throws a 500 and the log shows:

Mongo::ConnectionFailure (Operation failed with the following exception: connection closed)

It happens every day the first time I try to access the app, and restarting the app fixes the problem, so it just seems like the connection is going away for some reason. Has anyone else encountered this, either with Errbit or some other Mongo app? I can't figure out if it's something wrong with Errbit, Mongoid, the Mongo gem, or something else about my setup. It seems like somewhere in that stack, an error like this should prompt a reconnection attempt or two.

Anyone encountered this before, or can point me in the right direction?

Thanks,
James

sendgrid:free addon doesn't exist anymore

In Readme we can see in heroku installation the command :

heroku addons:add sendgrid:free

This addon doesn't exist anymore. You need replace it by :

heroku addons:add sendgrid:starter

Link an existing issue to an error

Add an extra 'Link Existing' button beside Create Issue. When clicked, the user will be prompted for the issue ID, and this issue will then be linked to the error.

Refactor issue trackers

Before we add any more issue trackers, I think we need to try and factor out each service into models that subclass IssueTracker. i.e. :

class LighthouseTracker < IssueTracker
    def create_issue(err)
       ...
    end

    def validate
       ...
    end

    def body_template
       ...
    end
end

I'm quite new to MongoDB so I would like some help in understanding how this would affect the embeds_one :issue_tracker relationship to the App model.

After this has been refactored, I think it would be cool to add support for GitHub Issues.

ActionView::Template::Error (private method `sub' called for {"key"=>"rv:5.0)

Just reported our first error and when we want to view it we get this:

ActionView::Template::Error (private method `sub' called for {"key"=>"rv:5.0) Gecko/20100101 Firefox/5.0"}:BSON::OrderedHash):
    18:       %td= notice.err.notices.count - 1
    19:     %tr
    20:       %th Browser
    21:       %td= user_agent_graph(notice.err)
  app/models/notice.rb:56:in `user_agent'
  app/helpers/application_helper.rb:9:in `user_agent_graph'
  app/helpers/application_helper.rb:19:in `tally'
  app/helpers/application_helper.rb:18:in `tally'
  app/helpers/application_helper.rb:9:in `user_agent_graph'
  app/views/notices/_summary.html.haml:21:in `_app_views_notices__summary_html_haml___723694831_28238160_5167564'
  app/views/errs/show.html.haml:38:in `_app_views_errs_show_html_haml___218208014_28441800_0'

Feature Request: stay on tab when paging throw error occurances

hi,

would it be possible to maintain the tab (i.e. Summary Backtrace Environment Parameters Session) that is currently active
when paging through the previous (or newer) occurance of an exception?

currently the workflow is: view exception, click on environment, click on previous, click on environment ... would be nice if the environment tab would stay active to compare values ....

thanks :)

[production][errs#create_issue] ArgumentError: invalid byte sequence in US-ASCII

See this exception on Errbit

ArgumentError: invalid byte sequence in US-ASCII

Summary

URL

http://errbit-central.heroku.com/apps/c0eefc4c89aa624218feb7450a3f2aac/errs/4e5a4580f5a46d0001000006/create_issue"

Where

errs#create_issue

Occured

Aug 31 10:55pm

Similar

0

Params

{
  "_method" => "post",
  "action" => "create_issue",
  "app_id" => "c0eefc4c89aa624218feb7450a3f2aac",
  "authenticity_token" => "o/F6a3V8gsrHn6oKmQ7vd05ZFt9q2HPRH3lfRh2X0UI=",
  "controller" => "errs",
  "id" => "4e5a4580f5a46d0001000006"
}

Session

{
  "_csrf_token" => "o/F6a3V8gsrHn6oKmQ7vd05ZFt9q2HPRH3lfRh2X0UI=",
  "session_id" => "0261fee573ae65a853b991a0fe3c9144",
  "warden&#46;user&#46;user&#46;key" => "[\"User\", [\"4e48afc1d8895b0001000003\"], \"$2a$10$K6wZ4FxC5mOme8LLdwvNV.\"]"
}

Backtrace

70:  /.bundle/gems/ruby/1.9.1/gems/faraday-0.6.1/lib/faraday/utils.rb -> **gsub**
70:  /.bundle/gems/ruby/1.9.1/gems/faraday-0.6.1/lib/faraday/utils.rb -> **escape**
63:  /.bundle/gems/ruby/1.9.1/gems/faraday-0.6.1/lib/faraday/utils.rb -> **build_nested_query**
57:  /.bundle/gems/ruby/1.9.1/gems/faraday-0.6.1/lib/faraday/utils.rb -> **block in build_nested_query**
56:  /.bundle/gems/ruby/1.9.1/gems/faraday-0.6.1/lib/faraday/utils.rb -> **each**
56:  /.bundle/gems/ruby/1.9.1/gems/faraday-0.6.1/lib/faraday/utils.rb -> **map**
56:  /.bundle/gems/ruby/1.9.1/gems/faraday-0.6.1/lib/faraday/utils.rb -> **build_nested_query**
12:  /.bundle/gems/ruby/1.9.1/gems/faraday-0.6.1/lib/faraday/request/url_encoded.rb -> **block in call**
22:  /.bundle/gems/ruby/1.9.1/gems/faraday-0.6.1/lib/faraday/request/url_encoded.rb -> **match_content_type**
11:  /.bundle/gems/ruby/1.9.1/gems/faraday-0.6.1/lib/faraday/request/url_encoded.rb -> **call**
88:  /.bundle/gems/ruby/1.9.1/gems/faraday-0.6.1/lib/faraday/request.rb -> **run**
28:  /.bundle/gems/ruby/1.9.1/gems/faraday-0.6.1/lib/faraday/request.rb -> **run**
170:  /.bundle/gems/ruby/1.9.1/gems/faraday-0.6.1/lib/faraday/connection.rb -> **run_request**
69:  /.bundle/gems/ruby/1.9.1/gems/faraday-0.6.1/lib/faraday/connection.rb -> **post**
28:  /.bundle/gems/ruby/1.9.1/gems/octokit-0.6.3/lib/octokit/client/request.rb -> **request**
9:  /.bundle/gems/ruby/1.9.1/gems/octokit-0.6.3/lib/octokit/client/request.rb -> **post**
19:  /.bundle/gems/ruby/1.9.1/gems/octokit-0.6.3/lib/octokit/client/issues.rb -> **create_issue**
24:  [PROJECT_ROOT]/models/issue_trackers/github_issues_tracker.rb -> **create_issue**
112:  /.bundle/gems/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/relations/proxy.rb -> **method_missing**
34:  [PROJECT_ROOT]/controllers/errs_controller.rb -> **create_issue**
4:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal/implicit_render.rb -> **send_action**
150:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/abstract_controller/base.rb -> **process_action**
11:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal/rendering.rb -> **process_action**
18:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/abstract_controller/callbacks.rb -> **block in process_action**
450:  /.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/callbacks.rb -> **_run__1175228217613722863__process_action__743419639143723096__callbacks**
409:  /.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/callbacks.rb -> **_run_process_action_callbacks**
93:  /.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/callbacks.rb -> **run_callbacks**
17:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/abstract_controller/callbacks.rb -> **process_action**
30:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal/instrumentation.rb -> **block in process_action**
52:  /.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/notifications.rb -> **block in instrument**
21:  /.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/notifications/instrumenter.rb -> **instrument**
52:  /.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/notifications.rb -> **instrument**
29:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal/instrumentation.rb -> **process_action**
17:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal/rescue.rb -> **process_action**
119:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/abstract_controller/base.rb -> **process**
41:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/abstract_controller/rendering.rb -> **process**
138:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal.rb -> **dispatch**
14:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal/rack_delegation.rb -> **dispatch**
178:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal.rb -> **block in action**
62:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb -> **call**
62:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb -> **dispatch**
27:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb -> **call**
148:  /.bundle/gems/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb -> **block in call**
93:  /.bundle/gems/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **block in recognize**
75:  /.bundle/gems/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **optimized_each**
92:  /.bundle/gems/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **recognize**
139:  /.bundle/gems/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb -> **call**
492:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb -> **call**
33:  /.bundle/gems/ruby/1.9.1/gems/mongoid-2.1.2/lib/rack/mongoid/middleware/identity_map.rb -> **block in call**
130:  /.bundle/gems/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid.rb -> **unit_of_work**
33:  /.bundle/gems/ruby/1.9.1/gems/mongoid-2.1.2/lib/rack/mongoid/middleware/identity_map.rb -> **call**
41:  /.bundle/gems/ruby/1.9.1/gems/haml-3.0.25/lib/sass/plugin/rack.rb -> **call**
35:  /.bundle/gems/ruby/1.9.1/gems/warden-1.0.5/lib/warden/manager.rb -> **block in call**
34:  /.bundle/gems/ruby/1.9.1/gems/warden-1.0.5/lib/warden/manager.rb -> **catch**
34:  /.bundle/gems/ruby/1.9.1/gems/warden-1.0.5/lib/warden/manager.rb -> **call**
17:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/best_standards_support.rb -> **call**
14:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/head.rb -> **call**
24:  /.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/methodoverride.rb -> **call**
21:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/params_parser.rb -> **call**
182:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/flash.rb -> **call**
149:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/session/abstract_store.rb -> **call**
302:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/cookies.rb -> **call**
46:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/callbacks.rb -> **block in call**
415:  /.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/callbacks.rb -> **_run_call_callbacks**
44:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/callbacks.rb -> **call**
107:  /.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/sendfile.rb -> **call**
48:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/remote_ip.rb -> **call**
47:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/show_exceptions.rb -> **call**
13:  /.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails/rack/logger.rb -> **call**
17:  /.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/runtime.rb -> **call**
11:  /.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/lock.rb -> **block in call**
:  [unknown source] -> ****
11:  /.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/lock.rb -> **call**
30:  /.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/static.rb -> **call**
168:  /.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails[PROJECT_ROOT]lication.rb -> **call**
77:  /.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails[PROJECT_ROOT]lication.rb -> **method_missing**
9:  /home/heroku_rack/lib/static_assets.rb -> **call**
15:  /home/heroku_rack/lib/last_access.rb -> **call**
47:  /.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/urlmap.rb -> **block in call**
41:  /.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/urlmap.rb -> **each**
41:  /.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/urlmap.rb -> **call**
14:  /home/heroku_rack/lib/date_header.rb -> **call**
77:  /.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb -> **call**
84:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb -> **block in pre_process**
82:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb -> **catch**
82:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb -> **pre_process**
57:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb -> **process**
42:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb -> **receive_data**
256:  /.bundle/gems/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb -> **run_machine**
256:  /.bundle/gems/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb -> **run**
61:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/backends/base.rb -> **start**
159:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/server.rb -> **start**
86:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/controllers/controller.rb -> **start**
185:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/runner.rb -> **run_command**
151:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/lib/thin/runner.rb -> **run!**
6:  /.bundle/gems/ruby/1.9.1/gems/thin-1.2.11/bin/thin -> **<top (required)>**
19:  /usr/ruby1.9.2/bin/thin -> **load**
19:  /usr/ruby1.9.2/bin/thin -> **<main>**

Environment

SERVER_SOFTWARE: thin 1.2.11 codename Bat-Shit Crazy
SERVER_NAME: errbit-central.heroku.com
rack.input: #
rack.version: ["1", "0"]
rack.errors: #
rack.multithread: false
rack.multiprocess: false
rack.run_once: false
REQUEST_METHOD: POST
REQUEST_PATH: /apps/c0eefc4c89aa624218feb7450a3f2aac/errs/4e5a4580f5a46d0001000006/create_issue
PATH_INFO: /apps/c0eefc4c89aa624218feb7450a3f2aac/errs/4e5a4580f5a46d0001000006/create_issue
REQUEST_URI: /apps/c0eefc4c89aa624218feb7450a3f2aac/errs/4e5a4580f5a46d0001000006/create_issue
HTTP_VERSION: HTTP/1.0
HTTP_X_REAL_IP: 218.103.67.113
HTTP_X_FORWARDED_FOR: 218.103.67.113
HTTP_USER_AGENT: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0
HTTP_REFERER: http://errbit-central.heroku.com/apps/c0eefc4c89aa624218feb7450a3f2aac/errs/4e5a4580f5a46d0001000006
HTTP_HOST: errbit-central.heroku.com
HTTP_COOKIE: __utma=111815579.571265825.1313382146.1313409011.1314589759.6; __utmz=111815579.1314589759.6.6.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=heroku%20push%20from%20different%20branch; LOOPFUSE=fcf4f480-4f16-4071-a81c-89b1d65d5f25; km_dbg=0; km_ai=Dz5d92TB8o6Nz%2FCvUI%2BElbkkt%2BY%3D; _errbit_session=BAh7CEkiEF9jc3JmX3Rva2VuBjoGRUZJIjFvL0Y2YTNWOGdzckhuNm9LbVE3dmQwNVpGdDlxMkhQUkgzbGZSaDJYMFVJPQY7AEZJIhl3YXJkZW4udXNlci51c2VyLmtleQY7AFRbCEkiCVVzZXIGOwBGWwZvOhNCU09OOjpPYmplY3RJZAY6CkBkYXRhWxFpU2lNaQGvaQHBaQHYaQGJaWBpAGkGaQBpAGkISSIiJDJhJDEwJEs2d1o0RnhDNW1PbWU4TExkd3ZOVi4GOwBUSSIPc2Vzc2lvbl9pZAY7AEYiJTAyNjFmZWU1NzNhZTY1YTg1M2I5OTFhMGZlM2M5MTQ0--4f03754a7d0b9c6370c4432757d32eaac3f38d83; remember_user_token=BAhbB1sGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVNpTWkBr2kBwWkB2GkBiWlgaQBpBmkAaQBpCEkiGXB0ZzJXUFE2cnBRNmtlNlZScWp5BjoGRVQ%3D--5216324044eb5c5bf06efcf1bfcd708c2b4c434e
HTTP_CONNECTION: close
HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_X_HEROKU_QUEUE_WAIT_TIME: 1
HTTP_X_HEROKU_QUEUE_DEPTH: 0
HTTP_X_HEROKU_DYNOS_IN_USE: 1
HTTP_X_REQUEST_START: 1314856537709
CONTENT_LENGTH: 80
CONTENT_TYPE: application/x-www-form-urlencoded
GATEWAY_INTERFACE: CGI/1.2
SERVER_PORT: 80
key: action_dispatch.request.query_parameters
SERVER_PROTOCOL: HTTP/1.1
rack.url_scheme: http
REMOTE_ADDR: 10.94.70.11
async.callback: #
async.close: #
action_dispatch.parameter_filter: ["password"]
action_dispatch.secret_token: 6b74778101638fa9c156b3928c9492fb2481ab842538bea838d21f9c9993f649f5806449584266d413d0b2f1104162b3066a86512ed71ededd627cd41f939614
action_dispatch.remote_ip: 218.103.67.113
rack.session: {"_csrf_token"=>"o/F6a3V8gsrHn6oKmQ7vd05ZFt9q2HPRH3lfRh2X0UI=", "warden.user.user.key"=>"[\"User\", [\"4e48afc1d8895b0001000003\"], \"$2a$10$K6wZ4FxC5mOme8LLdwvNV.\"]", "session_id"=>"0261fee573ae65a853b991a0fe3c9144"}
rack.session.options: {"path"=>"/", "key"=>"expire_after", "secure"=>"false", "httponly"=>"true", "id"=>"0261fee573ae65a853b991a0fe3c9144"}
rack.request.cookie_string: __utma=111815579.571265825.1313382146.1313409011.1314589759.6; __utmz=111815579.1314589759.6.6.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=heroku%20push%20from%20different%20branch; LOOPFUSE=fcf4f480-4f16-4071-a81c-89b1d65d5f25; km_dbg=0; km_ai=Dz5d92TB8o6Nz%2FCvUI%2BElbkkt%2BY%3D; _errbit_session=BAh7CEkiEF9jc3JmX3Rva2VuBjoGRUZJIjFvL0Y2YTNWOGdzckhuNm9LbVE3dmQwNVpGdDlxMkhQUkgzbGZSaDJYMFVJPQY7AEZJIhl3YXJkZW4udXNlci51c2VyLmtleQY7AFRbCEkiCVVzZXIGOwBGWwZvOhNCU09OOjpPYmplY3RJZAY6CkBkYXRhWxFpU2lNaQGvaQHBaQHYaQGJaWBpAGkGaQBpAGkISSIiJDJhJDEwJEs2d1o0RnhDNW1PbWU4TExkd3ZOVi4GOwBUSSIPc2Vzc2lvbl9pZAY7AEYiJTAyNjFmZWU1NzNhZTY1YTg1M2I5OTFhMGZlM2M5MTQ0--4f03754a7d0b9c6370c4432757d32eaac3f38d83; remember_user_token=BAhbB1sGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVNpTWkBr2kBwWkB2GkBiWlgaQBpBmkAaQBpCEkiGXB0ZzJXUFE2cnBRNmtlNlZScWp5BjoGRVQ%3D--5216324044eb5c5bf06efcf1bfcd708c2b4c434e
rack.request.cookie_hash: {"__utma"=>"111815579.571265825.1313382146.1313409011.1314589759.6", "__utmz"=>"111815579.1314589759.6.6.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=heroku push from different branch", "LOOPFUSE"=>"fcf4f480-4f16-4071-a81c-89b1d65d5f25", "km_dbg"=>"0", "km_ai"=>"Dz5d92TB8o6Nz/CvUI+Elbkkt+Y=", "_errbit_session"=>"BAh7CEkiEF9jc3JmX3Rva2VuBjoGRUZJIjFvL0Y2YTNWOGdzckhuNm9LbVE3dmQwNVpGdDlxMkhQUkgzbGZSaDJYMFVJPQY7AEZJIhl3YXJkZW4udXNlci51c2VyLmtleQY7AFRbCEkiCVVzZXIGOwBGWwZvOhNCU09OOjpPYmplY3RJZAY6CkBkYXRhWxFpU2lNaQGvaQHBaQHYaQGJaWBpAGkGaQBpAGkISSIiJDJhJDEwJEs2d1o0RnhDNW1PbWU4TExkd3ZOVi4GOwBUSSIPc2Vzc2lvbl9pZAY7AEYiJTAyNjFmZWU1NzNhZTY1YTg1M2I5OTFhMGZlM2M5MTQ0--4f03754a7d0b9c6370c4432757d32eaac3f38d83", "remember_user_token"=>"BAhbB1sGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVNpTWkBr2kBwWkB2GkBiWlgaQBpBmkAaQBpCEkiGXB0ZzJXUFE2cnBRNmtlNlZScWp5BjoGRVQ=--5216324044eb5c5bf06efcf1bfcd708c2b4c434e"}
action_dispatch.cookies: {"__utma"=>"111815579.571265825.1313382146.1313409011.1314589759.6", "__utmz"=>"111815579.1314589759.6.6.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=heroku push from different branch", "LOOPFUSE"=>"fcf4f480-4f16-4071-a81c-89b1d65d5f25", "km_dbg"=>"0", "km_ai"=>"Dz5d92TB8o6Nz/CvUI+Elbkkt+Y=", "_errbit_session"=>"BAh7CEkiEF9jc3JmX3Rva2VuBjoGRUZJIjFvL0Y2YTNWOGdzckhuNm9LbVE3dmQwNVpGdDlxMkhQUkgzbGZSaDJYMFVJPQY7AEZJIhl3YXJkZW4udXNlci51c2VyLmtleQY7AFRbCEkiCVVzZXIGOwBGWwZvOhNCU09OOjpPYmplY3RJZAY6CkBkYXRhWxFpU2lNaQGvaQHBaQHYaQGJaWBpAGkGaQBpAGkISSIiJDJhJDEwJEs2d1o0RnhDNW1PbWU4TExkd3ZOVi4GOwBUSSIPc2Vzc2lvbl9pZAY7AEYiJTAyNjFmZWU1NzNhZTY1YTg1M2I5OTFhMGZlM2M5MTQ0--4f03754a7d0b9c6370c4432757d32eaac3f38d83", "remember_user_token"=>"BAhbB1sGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVNpTWkBr2kBwWkB2GkBiWlgaQBpBmkAaQBpCEkiGXB0ZzJXUFE2cnBRNmtlNlZScWp5BjoGRVQ=--5216324044eb5c5bf06efcf1bfcd708c2b4c434e"}
action_dispatch.request.unsigned_session_cookie: {"_csrf_token"=>"o/F6a3V8gsrHn6oKmQ7vd05ZFt9q2HPRH3lfRh2X0UI=", "warden.user.user.key"=>"[\"User\", [\"4e48afc1d8895b0001000003\"], \"$2a$10$K6wZ4FxC5mOme8LLdwvNV.\"]", "session_id"=>"0261fee573ae65a853b991a0fe3c9144"}
action_dispatch.request.content_type: application/x-www-form-urlencoded
rack.request.form_input: #
rack.request.form_hash: {"_method"=>"post", "authenticity_token"=>"o/F6a3V8gsrHn6oKmQ7vd05ZFt9q2HPRH3lfRh2X0UI="}
rack.methodoverride.original_method: POST
warden: Warden::Proxy:47933200 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :token_authenticatable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>Devise::FailureApp}
action_dispatch.request.path_parameters: {"action"=>"create_issue", "controller"=>"errs", "app_id"=>"c0eefc4c89aa624218feb7450a3f2aac", "id"=>"4e5a4580f5a46d0001000006"}
action_controller.instance: #
action_dispatch.request.request_parameters: {"_method"=>"post", "authenticity_token"=>"o/F6a3V8gsrHn6oKmQ7vd05ZFt9q2HPRH3lfRh2X0UI="}
action_dispatch.request.parameters: {"_method"=>"post", "authenticity_token"=>"o/F6a3V8gsrHn6oKmQ7vd05ZFt9q2HPRH3lfRh2X0UI=", "action"=>"create_issue", "controller"=>"errs", "app_id"=>"c0eefc4c89aa624218feb7450a3f2aac", "id"=>"4e5a4580f5a46d0001000006"}
action_dispatch.request.formats: ["text/html"]

[production][devise/passwords#create] ActionView::MissingTemplate: Missing partial mailer/signature with {:handlers=>[:rjs, :erb, :rhtm...

See this exception on Errbit

ActionView::MissingTemplate: Missing partial mailer/signature with {:handlers=>[:rjs, :erb, :rhtml, :rxml, :haml, :builder], :formats=>[:text], :locale=>[:en]} in view paths "/var/app/errbit/releases/20110909121516/app/views", "/var/app/errbit/.rvm/gems/ree-1.8.7-2011.03@errbitgemset/gems/devise-1.4.2/app/views"

Summary

URL

https://err.hfdev.de/users/password"

Where

devise/passwords#create

Occured

Sep 09 3:29pm

Similar

0

Params

{
  "action" => "create",
  "authenticity_token" => "VygCP+4R/jGT+J6FQb9hmlLAlu6JczeRKvCYoQcSPOo=",
  "commit" => "Send me reset password instructions",
  "controller" => "devise/passwords",
  "user" => {
    "email" => "[email protected]"
  },
  "utf8" => "✓"
}

Session

{
  "_csrf_token" => "VygCP+4R/jGT+J6FQb9hmlLAlu6JczeRKvCYoQcSPOo=",
  "session_id" => "3b9a3ba945af2d36c914eb8452b46acb"
}

Backtrace

15:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_view/paths.rb -> **find**
81:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_view/lookup_context.rb -> **find_template**
186:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_view/base.rb -> **__send__**
186:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_view/base.rb -> **find_template**
356:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_view/render/partials.rb -> **find_template**
250:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_view/render/partials.rb -> **render**
378:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_view/render/partials.rb -> **_render_partial**
31:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_view/render/rendering.rb -> **render_without_haml**
13:  [GEM_ROOT]/gems/haml-3.0.25/lib/haml/helpers/action_view_mods.rb -> **render**
9:  /app/views/devise/mailer/reset_password_instructions.text.erb -> **_app_views_devise_mailer_reset_password_instructions_text_erb___905807020_67195560_0**
135:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_view/template.rb -> **send**
135:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_view/template.rb -> **render**
54:  [GEM_ROOT]/gems/activesupport-3.0.5/lib/active_support/notifications.rb -> **instrument**
127:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_view/template.rb -> **render**
59:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_view/render/rendering.rb -> **_render_template**
52:  [GEM_ROOT]/gems/activesupport-3.0.5/lib/active_support/notifications.rb -> **instrument**
21:  [GEM_ROOT]/gems/activesupport-3.0.5/lib/active_support/notifications/instrumenter.rb -> **instrument**
52:  [GEM_ROOT]/gems/activesupport-3.0.5/lib/active_support/notifications.rb -> **instrument**
56:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_view/render/rendering.rb -> **_render_template**
26:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_view/render/rendering.rb -> **render_without_haml**
13:  [GEM_ROOT]/gems/haml-3.0.25/lib/haml/helpers/action_view_mods.rb -> **render**
115:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/abstract_controller/rendering.rb -> **_render_template**
109:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/abstract_controller/rendering.rb -> **render_to_body**
102:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/abstract_controller/rendering.rb -> **render_to_string**
93:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/abstract_controller/rendering.rb -> **render**
111:  [GEM_ROOT]/gems/actionmailer-3.0.5/lib/action_mailer/deprecated_api.rb -> **render**
12:  /lib/inline_css.rb -> **render**
712:  [GEM_ROOT]/gems/actionmailer-3.0.5/lib/action_mailer/base.rb -> **collect_responses_and_parts_order**
727:  [GEM_ROOT]/gems/actionmailer-3.0.5/lib/action_mailer/base.rb -> **each**
727:  [GEM_ROOT]/gems/actionmailer-3.0.5/lib/action_mailer/base.rb -> **each_template**
722:  [GEM_ROOT]/gems/actionmailer-3.0.5/lib/action_mailer/base.rb -> **each**
722:  [GEM_ROOT]/gems/actionmailer-3.0.5/lib/action_mailer/base.rb -> **each_template**
708:  [GEM_ROOT]/gems/actionmailer-3.0.5/lib/action_mailer/base.rb -> **collect_responses_and_parts_order**
650:  [GEM_ROOT]/gems/actionmailer-3.0.5/lib/action_mailer/base.rb -> **mail**
16:  [GEM_ROOT]/gems/devise-1.4.2/lib/devise/mailers/helpers.rb -> **devise_mail**
9:  [GEM_ROOT]/gems/devise-1.4.2/app/mailers/devise/mailer.rb -> **reset_password_instructions**
150:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/abstract_controller/base.rb -> **send_action**
150:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/abstract_controller/base.rb -> **process_action**
119:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/abstract_controller/base.rb -> **process**
41:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/abstract_controller/rendering.rb -> **process**
75:  [GEM_ROOT]/gems/actionmailer-3.0.5/lib/action_mailer/old_api.rb -> **process**
448:  [GEM_ROOT]/gems/actionmailer-3.0.5/lib/action_mailer/base.rb -> **process**
443:  [GEM_ROOT]/gems/actionmailer-3.0.5/lib/action_mailer/base.rb -> **initialize**
427:  [GEM_ROOT]/gems/actionmailer-3.0.5/lib/action_mailer/base.rb -> **new**
427:  [GEM_ROOT]/gems/actionmailer-3.0.5/lib/action_mailer/base.rb -> **method_missing**
39:  [GEM_ROOT]/gems/devise-1.4.2/lib/devise/models/recoverable.rb -> **send_reset_password_instructions**
99:  [GEM_ROOT]/gems/devise-1.4.2/lib/devise/models/recoverable.rb -> **send_reset_password_instructions**
13:  [GEM_ROOT]/gems/devise-1.4.2/app/controllers/devise/passwords_controller.rb -> **create**
4:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_controller/metal/implicit_render.rb -> **send_action**
4:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_controller/metal/implicit_render.rb -> **send_action**
150:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/abstract_controller/base.rb -> **process_action**
11:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_controller/metal/rendering.rb -> **process_action**
18:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/abstract_controller/callbacks.rb -> **process_action**
450:  [GEM_ROOT]/gems/activesupport-3.0.5/lib/active_support/callbacks.rb -> **_run__905181335__process_action__1623385099__callbacks**
409:  [GEM_ROOT]/gems/activesupport-3.0.5/lib/active_support/callbacks.rb -> **send**
409:  [GEM_ROOT]/gems/activesupport-3.0.5/lib/active_support/callbacks.rb -> **_run_process_action_callbacks**
93:  [GEM_ROOT]/gems/activesupport-3.0.5/lib/active_support/callbacks.rb -> **send**
93:  [GEM_ROOT]/gems/activesupport-3.0.5/lib/active_support/callbacks.rb -> **run_callbacks**
17:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/abstract_controller/callbacks.rb -> **process_action**
30:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_controller/metal/instrumentation.rb -> **process_action**
52:  [GEM_ROOT]/gems/activesupport-3.0.5/lib/active_support/notifications.rb -> **instrument**
21:  [GEM_ROOT]/gems/activesupport-3.0.5/lib/active_support/notifications/instrumenter.rb -> **instrument**
52:  [GEM_ROOT]/gems/activesupport-3.0.5/lib/active_support/notifications.rb -> **instrument**
29:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_controller/metal/instrumentation.rb -> **process_action**
17:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_controller/metal/rescue.rb -> **process_action**
119:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/abstract_controller/base.rb -> **process**
41:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/abstract_controller/rendering.rb -> **process**
138:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_controller/metal.rb -> **dispatch**
14:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_controller/metal/rack_delegation.rb -> **dispatch**
178:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_controller/metal.rb -> **action**
62:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb -> **call**
62:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb -> **dispatch**
27:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb -> **call**
39:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_dispatch/routing/mapper.rb -> **call**
148:  [GEM_ROOT]/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb -> **call**
93:  [GEM_ROOT]/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **recognize**
68:  [GEM_ROOT]/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **optimized_each**
92:  [GEM_ROOT]/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **recognize**
139:  [GEM_ROOT]/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb -> **call**
492:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb -> **call**
33:  [GEM_ROOT]/gems/mongoid-2.1.2/lib/rack/mongoid/middleware/identity_map.rb -> **call**
130:  [GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid.rb -> **unit_of_work**
33:  [GEM_ROOT]/gems/mongoid-2.1.2/lib/rack/mongoid/middleware/identity_map.rb -> **call**
41:  [GEM_ROOT]/gems/haml-3.0.25/lib/sass/plugin/rack.rb -> **call**
35:  [GEM_ROOT]/gems/warden-1.0.5/lib/warden/manager.rb -> **call**
34:  [GEM_ROOT]/gems/warden-1.0.5/lib/warden/manager.rb -> **catch**
34:  [GEM_ROOT]/gems/warden-1.0.5/lib/warden/manager.rb -> **call**
17:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_dispatch/middleware/best_standards_support.rb -> **call**
14:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_dispatch/middleware/head.rb -> **call**
24:  [GEM_ROOT]/gems/rack-1.2.2/lib/rack/methodoverride.rb -> **call**
21:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_dispatch/middleware/params_parser.rb -> **call**
182:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_dispatch/middleware/flash.rb -> **call**
149:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_dispatch/middleware/session/abstract_store.rb -> **call**
302:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_dispatch/middleware/cookies.rb -> **call**
46:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_dispatch/middleware/callbacks.rb -> **call**
415:  [GEM_ROOT]/gems/activesupport-3.0.5/lib/active_support/callbacks.rb -> **_run_call_callbacks**
44:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_dispatch/middleware/callbacks.rb -> **call**
107:  [GEM_ROOT]/gems/rack-1.2.2/lib/rack/sendfile.rb -> **call**
48:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_dispatch/middleware/remote_ip.rb -> **call**
47:  [GEM_ROOT]/gems/actionpack-3.0.5/lib/action_dispatch/middleware/show_exceptions.rb -> **call**
13:  [GEM_ROOT]/gems/railties-3.0.5/lib/rails/rack/logger.rb -> **call**
17:  [GEM_ROOT]/gems/rack-1.2.2/lib/rack/runtime.rb -> **call**
25:  [GEM_ROOT]/gems/rack-1.2.2/lib/rack/auth/basic.rb -> **call**
8:  [GEM_ROOT]/bundler/gems/gccommon-ffce22a8ca44/lib/gccommon/rack/htpasswd.rb -> **call**
11:  [GEM_ROOT]/gems/rack-1.2.2/lib/rack/lock.rb -> **call**
11:  [GEM_ROOT]/gems/rack-1.2.2/lib/rack/lock.rb -> **synchronize**
11:  [GEM_ROOT]/gems/rack-1.2.2/lib/rack/lock.rb -> **call**
168:  [GEM_ROOT]/gems/railties-3.0.5/lib/rails/application.rb -> **call**
77:  [GEM_ROOT]/gems/railties-3.0.5/lib/rails/application.rb -> **send**
77:  [GEM_ROOT]/gems/railties-3.0.5/lib/rails/application.rb -> **method_missing**
528:  [GEM_ROOT]/gems/unicorn-4.1.1/lib/unicorn/http_server.rb -> **process_client**
600:  [GEM_ROOT]/gems/unicorn-4.1.1/lib/unicorn/http_server.rb -> **worker_loop**
485:  [GEM_ROOT]/gems/unicorn-4.1.1/lib/unicorn/http_server.rb -> **spawn_missing_workers**
135:  [GEM_ROOT]/gems/unicorn-4.1.1/lib/unicorn/http_server.rb -> **start**
121:  [GEM_ROOT]/gems/unicorn-4.1.1/bin/unicorn -> ****
19:  [GEM_ROOT]/bin/unicorn -> **load**
19:  [GEM_ROOT]/bin/unicorn -> ****

Environment

action_dispatch.request.request_parameters: commitSend me reset password instructionsauthenticity_tokenVygCP+4R/jGT+J6FQb9hmlLAlu6JczeRKvCYoQcSPOo=utf8✓[email protected]
HTTP_HOST: err.hfdev.de
SERVER_NAME: err.hfdev.de
HTTP_CACHE_CONTROL: max-age=0
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT: Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.30 (KHTML, like Gecko) Ubuntu/11.04 Chromium/12.0.742.112 Chrome/12.0.742.112 Safari/534.30
CONTENT_LENGTH: 169
REQUEST_PATH: /users/password
HTTP_X_REAL_IP: 217.86.193.8
action_dispatch.cookies: _errbit_sessionBAh7ByIQX2NzcmZfdG9rZW4iMVZ5Z0NQKzRSL2pHVCtKNkZRYjlobWxMQWx1NkpjemVSS3ZDWW9RY1NQT289Ig9zZXNzaW9uX2lkIiUzYjlhM2JhOTQ1YWYyZDM2YzkxNGViODQ1MmI0NmFjYg==--990535cdd6c3246e51fd2682dffc1001c4e5fec9
SERVER_PROTOCOL: HTTP/1.0
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8
CONTENT_TYPE: application/x-www-form-urlencoded
action_dispatch.request.formats: text/html
action_controller.instance: #
REMOTE_ADDR: 127.0.0.1
SERVER_SOFTWARE: Unicorn 4.1.1
PATH_INFO: /users/password
rack.request.cookie_hash: _errbit_sessionBAh7ByIQX2NzcmZfdG9rZW4iMVZ5Z0NQKzRSL2pHVCtKNkZRYjlobWxMQWx1NkpjemVSS3ZDWW9RY1NQT289Ig9zZXNzaW9uX2lkIiUzYjlhM2JhOTQ1YWYyZDM2YzkxNGViODQ1MmI0NmFjYg==--990535cdd6c3246e51fd2682dffc1001c4e5fec9
rack.logger: #
devise.mapping: #
HTTP_REFERER: https://err.hfdev.de/users/password/new
HTTP_AUTHORIZATION: Basic bWFydGluOkhlbGdlaXN0MWdvdHQu
rack.url_scheme: https
rack.request.form_hash: commitSend me reset password instructionsutf8✓authenticity_tokenVygCP+4R/jGT+J6FQb9hmlLAlu6JczeRKvCYoQcSPOo=useremailmgpalmer@monogreen.de
rack.input: #
rack.request.form_input: #
HTTP_VERSION: HTTP/1.0
action_dispatch.parameter_filter: password
HTTP_COOKIE: _errbit_session=BAh7ByIQX2NzcmZfdG9rZW4iMVZ5Z0NQKzRSL2pHVCtKNkZRYjlobWxMQWx1NkpjemVSS3ZDWW9RY1NQT289Ig9zZXNzaW9uX2lkIiUzYjlhM2JhOTQ1YWYyZDM2YzkxNGViODQ1MmI0NmFjYg%3D%3D--990535cdd6c3246e51fd2682dffc1001c4e5fec9
action_dispatch.secret_token: 6b74778101638fa9c156b3928c9492fb2481ab842538bea838d21f9c9993f649f5806449584266d413d0b2f1104162b3066a86512ed71ededd627cd41f939614
HTTP_X_FORWARDED_PROTO: https
REQUEST_URI: /users/password
REMOTE_USER: martin
rack.request.cookie_string: _errbit_session=BAh7ByIQX2NzcmZfdG9rZW4iMVZ5Z0NQKzRSL2pHVCtKNkZRYjlobWxMQWx1NkpjemVSS3ZDWW9RY1NQT289Ig9zZXNzaW9uX2lkIiUzYjlhM2JhOTQ1YWYyZDM2YzkxNGViODQ1MmI0NmFjYg%3D%3D--990535cdd6c3246e51fd2682dffc1001c4e5fec9
rack.run_once: false
action_dispatch.request.unsigned_session_cookie: _csrf_tokenVygCP+4R/jGT+J6FQb9hmlLAlu6JczeRKvCYoQcSPOo=session_id3b9a3ba945af2d36c914eb8452b46acb
rack.session: _csrf_tokenVygCP+4R/jGT+J6FQb9hmlLAlu6JczeRKvCYoQcSPOo=session_id3b9a3ba945af2d36c914eb8452b46acb
SERVER_PORT: 443
HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.3
HTTP_X_FORWARDED_FOR: 217.86.193.8, 217.86.193.8
rack.multiprocess: true
action_dispatch.request.parameters: commitSend me reset password instructionsactioncreateauthenticity_tokenVygCP+4R/jGT+J6FQb9hmlLAlu6JczeRKvCYoQcSPOo=utf8✓controllerdevise/[email protected]
action_dispatch.request.content_type: application/x-www-form-urlencoded
REQUEST_METHOD: POST
rack.multithread: false
warden: Warden::Proxy:67480380 @config={:scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :token_authenticatable, :database_authenticatable]}, :failure_app=>Devise::FailureApp, :default_scope=>:user, :intercept_401=>false}
key: rack.request.query_string
HTTP_ORIGIN: https://err.hfdev.de
rack.errors: #
action_dispatch.remote_ip: 217.86.193.8
HTTP_ACCEPT_ENCODING: gzip,deflate,sdch
HTTP_CONNECTION: close
rack.session.options: httponlytruesecurefalseid3b9a3ba945af2d36c914eb8452b46acbpath/keydomain
action_dispatch.request.path_parameters: actioncreatecontrollerdevise/passwords
rack.version: 11

Feature request: add/remove ignores on specified exceptions

There are cases, when application periodically reports some exceptions, that are not critical and rather treated as "normal behavior". Maybe those are exceptions that can't be fixed right now, or exceptions from libraries, but everybody knows that application can live OK with them for now.

It would be great to have the ability to dynamically add and remove ignores on such exceptions through the web interface (not config). Maybe by regexp pattern or something else that can be suitable.

Can't Delete Errors when hosted with Heroku

If I try to delete any errors when using Heroku, I get the following error:

NoMethodError: undefined method `[]' for nil:NilClass

Controller and Method:

errs#destroy_several

I've followed the default Heroku configuration in the readme. The strange this is that I can't reproduce the error on my local machine.

`hoptoad_javascript_notifier` helper method incorrectly sends error notifications to github.com/jdpace/errbit

@jdpace emailed us telling us that our application is sending error notification to github servers.

We are using the official hoptoad notifier, and it has a helper method named hoptoad_javascript_notifier which supposedly generates the boilerplate javascript to send javascript error notifications to errbit.

The helper method is generating the following code:

<script type="text/javascript"> 
//<![CDATA[

    var notifierJsScheme = (("https:" == document.location.protocol) ? "https://" : "http://");
    document.write(unescape("%3Cscript src='" + notifierJsScheme + "errbit.endpoint/javascripts/notifier.js' type='text/javascript'%3E%3C/script%3E"));

//]]>
</script>

<script type="text/javascript"> 
//<![CDATA[

    Hoptoad.setKey('XXXX');
    Hoptoad.setHost('errbit.endpoint');
    Hoptoad.setEnvironment('production');
    Hoptoad.setErrorDefaults({ url: "https://our.app.name", component: "whatever", action: "index" });

//]]>
</script>

However the file errbit.endpoint/javascripts/notifier.js does not define a Hoptoad object but an Errbit one, causing the notifier to notify exceptions using Errbit defaults (github.com/jdpace/errbit).

Due Errbit is supposedly a hoptoad_notifier-compatible implementation, can we rename all Errbit references in the file https://github.com/errbit/errbit/blob/master/public/javascripts/notifier.js to Hoptoad, so it remains compatible?

If not, can we please remove all references to github.com/jdpace/errbit and properly handle misconfigurations, so we don't annoy github's team?

Thank you.

[production][errs#destroy_several] NoMethodError: undefined method `[]' for nil:NilClass

See this exception on Errbit

NoMethodError: undefined method `[]' for nil:NilClass

Summary

URL

https://exceptlyze.herokuapp.com/errs/destroy_several"

Where

errs#destroy_several

Occured

Dec 14 6:00pm

Similar

1

Params

{
  "action" => "destroy_several",
  "authenticity_token" => "g/cKI4cN1h8p4wPMNjGu4qGX4ZNs+Pnm0I6EKCWct/M=",
  "controller" => "errs",
  "problems" => "[\"4ee93824897a650005000008\", \"4ee93822897a650008000005\", \"4ee93829897a65000a000009\", \"4ee9382f897a65000a00000c\"]",
  "toggle_problems_checkboxes" => "1",
  "utf8" => "�"
}

Session

{
  "_csrf_token" => "g/cKI4cN1h8p4wPMNjGu4qGX4ZNs+Pnm0I6EKCWct/M=",
  "session_id" => "701dfddd6859cbb917cb6d3a3847d344",
  "warden_user_user_key" => "[\"User\", [\"4ee8d46cf70c8f0001000001\"], \"$2a$10$CdToyaATjiiiNnGQC5P7ou\"]"
}

Backtrace

169:  [PROJECT_ROOT]/models/problem.rb -> **attribute_count_descrease**
150:  [PROJECT_ROOT]/models/problem.rb -> **remove_cached_notice_attribures**
148:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/proxy.rb -> **method_missing**
113:  [PROJECT_ROOT]/models/notice.rb -> **remove_cached_attributes_from_problem**
420:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb -> **_run_destroy_callbacks**
94:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb -> **run_callbacks**
31:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/persistence.rb -> **destroy**
17:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/cascading/destroy.rb -> **block in cascade**
173:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/referenced/many.rb -> **block in each**
150:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/targets/enumerable.rb -> **block in each**
149:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/targets/enumerable.rb -> **each**
149:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/targets/enumerable.rb -> **each**
173:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/referenced/many.rb -> **each**
17:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/cascading/destroy.rb -> **cascade**
31:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/cascading.rb -> **block in cascade!**
28:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/cascading.rb -> **each**
28:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/cascading.rb -> **cascade!**
22:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/persistence/deletion.rb -> **prepare**
26:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/persistence/operations/remove.rb -> **persist**
56:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/persistence.rb -> **remove**
31:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/persistence.rb -> **block in destroy**
414:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb -> **_run_destroy_callbacks**
94:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb -> **run_callbacks**
31:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/persistence.rb -> **destroy**
17:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/cascading/destroy.rb -> **block in cascade**
173:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/referenced/many.rb -> **block in each**
150:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/targets/enumerable.rb -> **block in each**
149:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/targets/enumerable.rb -> **each**
149:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/targets/enumerable.rb -> **each**
173:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/referenced/many.rb -> **each**
17:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/cascading/destroy.rb -> **cascade**
31:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/cascading.rb -> **block in cascade!**
28:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/cascading.rb -> **each**
28:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/cascading.rb -> **cascade!**
22:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/persistence/deletion.rb -> **prepare**
26:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/persistence/operations/remove.rb -> **persist**
56:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/persistence.rb -> **remove**
31:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/persistence.rb -> **block in destroy**
414:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb -> **_run_destroy_callbacks**
94:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb -> **run_callbacks**
31:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/persistence.rb -> **destroy**
126:  [PROJECT_ROOT]/controllers/errs_controller.rb -> **each**
126:  [PROJECT_ROOT]/controllers/errs_controller.rb -> **destroy_several**
4:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/implicit_render.rb -> **send_action**
150:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/base.rb -> **process_action**
11:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/rendering.rb -> **process_action**
18:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/callbacks.rb -> **block in process_action**
451:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb -> **_run__1046395063178079568__process_action__3916761678391225504__callbacks**
410:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb -> **_run_process_action_callbacks**
94:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb -> **run_callbacks**
17:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/callbacks.rb -> **process_action**
17:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/rescue.rb -> **process_action**
30:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/instrumentation.rb -> **block in process_action**
52:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications.rb -> **block in instrument**
21:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications/instrumenter.rb -> **instrument**
52:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications.rb -> **instrument**
29:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/instrumentation.rb -> **process_action**
119:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/base.rb -> **process**
41:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/rendering.rb -> **process**
138:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal.rb -> **dispatch**
14:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/rack_delegation.rb -> **dispatch**
178:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal.rb -> **block in action**
62:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb -> **call**
62:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb -> **dispatch**
27:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb -> **call**
148:  /vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb -> **block in call**
93:  /vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **block in recognize**
68:  /vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **optimized_each**
92:  /vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **recognize**
139:  /vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb -> **call**
493:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb -> **call**
33:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/rack/mongoid/middleware/identity_map.rb -> **block in call**
130:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid.rb -> **unit_of_work**
33:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/rack/mongoid/middleware/identity_map.rb -> **call**
35:  /vendor/bundle/ruby/1.9.1/gems/warden-1.0.5/lib/warden/manager.rb -> **block in call**
34:  /vendor/bundle/ruby/1.9.1/gems/warden-1.0.5/lib/warden/manager.rb -> **catch**
34:  /vendor/bundle/ruby/1.9.1/gems/warden-1.0.5/lib/warden/manager.rb -> **call**
17:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/best_standards_support.rb -> **call**
14:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/head.rb -> **call**
24:  /vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/methodoverride.rb -> **call**
21:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/params_parser.rb -> **call**
182:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/flash.rb -> **call**
149:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/session/abstract_store.rb -> **call**
302:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/cookies.rb -> **call**
46:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/callbacks.rb -> **block in call**
416:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb -> **_run_call_callbacks**
44:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/callbacks.rb -> **call**
106:  /vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/sendfile.rb -> **call**
48:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/remote_ip.rb -> **call**
47:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/show_exceptions.rb -> **call**
13:  /vendor/bundle/ruby/1.9.1/gems/railties-3.0.10/lib/rails/rack/logger.rb -> **call**
17:  /vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/runtime.rb -> **call**
11:  /vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/lock.rb -> **block in call**
:  [unknown source] -> ****
11:  /vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/lock.rb -> **call**
30:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/static.rb -> **call**
168:  /vendor/bundle/ruby/1.9.1/gems/railties-3.0.10/lib/rails[PROJECT_ROOT]lication.rb -> **call**
77:  /vendor/bundle/ruby/1.9.1/gems/railties-3.0.10/lib/rails[PROJECT_ROOT]lication.rb -> **method_missing**
528:  /vendor/bundle/ruby/1.9.1/gems/unicorn-4.1.1/lib/unicorn/http_server.rb -> **process_client**
600:  /vendor/bundle/ruby/1.9.1/gems/unicorn-4.1.1/lib/unicorn/http_server.rb -> **worker_loop**
485:  /vendor/bundle/ruby/1.9.1/gems/unicorn-4.1.1/lib/unicorn/http_server.rb -> **spawn_missing_workers**
135:  /vendor/bundle/ruby/1.9.1/gems/unicorn-4.1.1/lib/unicorn/http_server.rb -> **start**
121:  /vendor/bundle/ruby/1.9.1/gems/unicorn-4.1.1/bin/unicorn -> **<top (required)>**
19:  /vendor/bundle/ruby/1.9.1/bin/unicorn -> **load**
19:  /vendor/bundle/ruby/1.9.1/bin/unicorn -> **<main>**

Environment

REMOTE_ADDR: 10.92.107.113
REQUEST_METHOD: POST
REQUEST_PATH: /errs/destroy_several
PATH_INFO: /errs/destroy_several
REQUEST_URI: /errs/destroy_several
SERVER_PROTOCOL: HTTP/1.1
HTTP_VERSION: HTTP/1.1
HTTP_X_FORWARDED_PROTO: https
HTTP_X_FORWARDED_PORT: 443
HTTP_X_FORWARDED_FOR: 96.8.217.158
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7
HTTP_REFERER: https://exceptlyze.herokuapp.com/errs
HTTP_ORIGIN: https://exceptlyze.herokuapp.com
HTTP_HOST: exceptlyze.herokuapp.com
HTTP_COOKIE: _errbit_session=BAh7CEkiEF9jc3JmX3Rva2VuBjoGRUZJIjFnL2NLSTRjTjFoOHA0d1BNTmpHdTRxR1g0Wk5zK1BubTBJNkVLQ1djdC9NPQY7AEZJIhl3YXJkZW4udXNlci51c2VyLmtleQY7AFRbCEkiCVVzZXIGOwBGWwZvOhNCU09OOjpPYmplY3RJZAY6CkBkYXRhWxFpU2kB6GkB1GlxaQH3aRFpAY9pAGkGaQBpAGkGSSIiJDJhJDEwJENkVG95YUFUamlpaU5uR1FDNVA3b3UGOwBUSSIPc2Vzc2lvbl9pZAY7AEYiJTcwMWRmZGRkNjg1OWNiYjkxN2NiNmQzYTM4NDdkMzQ0--4c59a9042eeeb2a6e16934e3b6a081636fb0ae3b
CONTENT_TYPE: application/x-www-form-urlencoded
CONTENT_LENGTH: 275
HTTP_CONNECTION: keep-alive
HTTP_CACHE_CONTROL: max-age=0
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8
HTTP_ACCEPT_ENCODING: gzip,deflate,sdch
HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.3
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_X_HEROKU_QUEUE_WAIT_TIME: 2
HTTP_X_HEROKU_QUEUE_DEPTH: 0
HTTP_X_HEROKU_DYNOS_IN_USE: 1
HTTP_X_REQUEST_START: 1323907216758
rack_url_scheme: https
SERVER_NAME: exceptlyze.herokuapp.com
SERVER_PORT: 443
key: action_dispatch.request.query_parameters
rack_input: #
rack_errors: #
rack_multiprocess: true
rack_multithread: false
rack_run_once: false
rack_version: ["1", "1"]
SERVER_SOFTWARE: Unicorn 4.1.1
rack_logger: #
action_dispatch_parameter_filter: ["password"]
action_dispatch_secret_token: 6b74778101638fa9c156b3928c9492fb2481ab842538bea838d21f9c9993f649f5806449584266d413d0b2f1104162b3066a86512ed71ededd627cd41f939614
action_dispatch_show_exceptions: true
action_dispatch_remote_ip: 96.8.217.158
rack_session: {"_csrf_token"=>"g/cKI4cN1h8p4wPMNjGu4qGX4ZNs+Pnm0I6EKCWct/M=", "warden_user_user_key"=>"[\"User\", [\"4ee8d46cf70c8f0001000001\"], \"$2a$10$CdToyaATjiiiNnGQC5P7ou\"]", "session_id"=>"701dfddd6859cbb917cb6d3a3847d344"}
rack_session_options: {"path"=>"/", "key"=>"expire_after", "secure"=>"false", "httponly"=>"true", "id"=>"701dfddd6859cbb917cb6d3a3847d344"}
rack_request_cookie_string: _errbit_session=BAh7CEkiEF9jc3JmX3Rva2VuBjoGRUZJIjFnL2NLSTRjTjFoOHA0d1BNTmpHdTRxR1g0Wk5zK1BubTBJNkVLQ1djdC9NPQY7AEZJIhl3YXJkZW4udXNlci51c2VyLmtleQY7AFRbCEkiCVVzZXIGOwBGWwZvOhNCU09OOjpPYmplY3RJZAY6CkBkYXRhWxFpU2kB6GkB1GlxaQH3aRFpAY9pAGkGaQBpAGkGSSIiJDJhJDEwJENkVG95YUFUamlpaU5uR1FDNVA3b3UGOwBUSSIPc2Vzc2lvbl9pZAY7AEYiJTcwMWRmZGRkNjg1OWNiYjkxN2NiNmQzYTM4NDdkMzQ0--4c59a9042eeeb2a6e16934e3b6a081636fb0ae3b
rack_request_cookie_hash: {"_errbit_session"=>"BAh7CEkiEF9jc3JmX3Rva2VuBjoGRUZJIjFnL2NLSTRjTjFoOHA0d1BNTmpHdTRxR1g0Wk5zK1BubTBJNkVLQ1djdC9NPQY7AEZJIhl3YXJkZW4udXNlci51c2VyLmtleQY7AFRbCEkiCVVzZXIGOwBGWwZvOhNCU09OOjpPYmplY3RJZAY6CkBkYXRhWxFpU2kB6GkB1GlxaQH3aRFpAY9pAGkGaQBpAGkGSSIiJDJhJDEwJENkVG95YUFUamlpaU5uR1FDNVA3b3UGOwBUSSIPc2Vzc2lvbl9pZAY7AEYiJTcwMWRmZGRkNjg1OWNiYjkxN2NiNmQzYTM4NDdkMzQ0--4c59a9042eeeb2a6e16934e3b6a081636fb0ae3b"}
action_dispatch_cookies: {"_errbit_session"=>"BAh7CEkiEF9jc3JmX3Rva2VuBjoGRUZJIjFnL2NLSTRjTjFoOHA0d1BNTmpHdTRxR1g0Wk5zK1BubTBJNkVLQ1djdC9NPQY7AEZJIhl3YXJkZW4udXNlci51c2VyLmtleQY7AFRbCEkiCVVzZXIGOwBGWwZvOhNCU09OOjpPYmplY3RJZAY6CkBkYXRhWxFpU2kB6GkB1GlxaQH3aRFpAY9pAGkGaQBpAGkGSSIiJDJhJDEwJENkVG95YUFUamlpaU5uR1FDNVA3b3UGOwBUSSIPc2Vzc2lvbl9pZAY7AEYiJTcwMWRmZGRkNjg1OWNiYjkxN2NiNmQzYTM4NDdkMzQ0--4c59a9042eeeb2a6e16934e3b6a081636fb0ae3b"}
action_dispatch_request_unsigned_session_cookie: {"_csrf_token"=>"g/cKI4cN1h8p4wPMNjGu4qGX4ZNs+Pnm0I6EKCWct/M=", "warden_user_user_key"=>"[\"User\", [\"4ee8d46cf70c8f0001000001\"], \"$2a$10$CdToyaATjiiiNnGQC5P7ou\"]", "session_id"=>"701dfddd6859cbb917cb6d3a3847d344"}
action_dispatch_request_content_type: application/x-www-form-urlencoded
rack_request_form_input: #
rack_request_form_hash: {"utf8"=>"�", "authenticity_token"=>"g/cKI4cN1h8p4wPMNjGu4qGX4ZNs+Pnm0I6EKCWct/M=", "toggle_problems_checkboxes"=>"1", "problems"=>"[\"4ee93824897a650005000008\", \"4ee93822897a650008000005\", \"4ee93829897a65000a000009\", \"4ee9382f897a65000a00000c\"]"}
warden: Warden::Proxy:44508740 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :token_authenticatable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>Devise::FailureApp}
action_dispatch_request_path_parameters: {"action"=>"destroy_several", "controller"=>"errs"}
action_controller_instance: #
action_dispatch_request_request_parameters: {"utf8"=>"�", "authenticity_token"=>"g/cKI4cN1h8p4wPMNjGu4qGX4ZNs+Pnm0I6EKCWct/M=", "toggle_problems_checkboxes"=>"1", "problems"=>"[\"4ee93824897a650005000008\", \"4ee93822897a650008000005\", \"4ee93829897a65000a000009\", \"4ee9382f897a65000a00000c\"]"}
action_dispatch_request_parameters: {"utf8"=>"�", "authenticity_token"=>"g/cKI4cN1h8p4wPMNjGu4qGX4ZNs+Pnm0I6EKCWct/M=", "toggle_problems_checkboxes"=>"1", "problems"=>"[\"4ee93824897a650005000008\", \"4ee93822897a650008000005\", \"4ee93829897a65000a000009\", \"4ee9382f897a65000a00000c\"]", "action"=>"destroy_several", "controller"=>"errs"}
action_dispatch_request_formats: ["text/html"]

Adding comments to errors

I couldn't find errbit on lighthouseapp, so I was wondering if this is the best place to discuss features?

It would be great to be able to leave comments on errors. Some user's don't have tight integration with an issue tracker, and comments would be a good interim solution.
I.e "Am currently working on this, but XYZ needs to be resolved first"

Maybe a comments tab like this:

Comments Tab

Or perhaps the comments section could be global, at the bottom of the page.

Any suggestions or alternative ideas?

ruby 1.9 new hash syntax in haml

errs/_table.html.haml uses the new hash syntax from ruby 1.9 which polaxes the app if you are running 1.8.7.

Changing the following

  %tbody
    - errs.each do |err|
      %tr{:class => err.resolved? ? 'resolved' : 'unresolved'}
        %td.app
          = link_to err.app.name, app_path(err.app)
          - if current_page?(:controller => 'errs')
            %span.environment= link_to err.environment, errs_path(environment: err.environment)
          - else
            %span.environment= link_to err.environment, app_path(err.app, environment: err.environment)
        %td.message

to

  %tbody
    - errs.each do |err|
      %tr{:class => err.resolved? ? 'resolved' : 'unresolved'}
        %td.app
          = link_to err.app.name, app_path(err.app)
          - if current_page?(:controller => 'errs')
            %span.environment= link_to err.environment, errs_path(:environment => err.environment)
          - else
            %span.environment= link_to err.environment, app_path(err.app, :environment => err.environment)
        %td.message

fixed the issue. I haven't run across this in any other pages.

Missing template on password forgot

Seems there is a template missing when doing password forgot ....

ActionView::MissingTemplate: Missing partial mailer/signature with {:handlers=>[:rjs, :erb, :rhtml, :rxml, :haml, :builder], :formats=>[:text], :locale=>[:en]} in view paths "/var/app/errbit/releases/20110909121516/app/views", "/var/app/errbit/.rvm/gems/ree-1.8.7-2011.03@errbitgemset/gems/devise-1.4.2/app/views"

Url was: https://..../users/password

Last good known template: /app/views/devise/mailer/reset_password_instructions.text.erb

Parameters:

{
  "action" => "create",
  "authenticity_token" => "VygCP+4R/jGT+J6FQb9hmlLAlu6JczeRKvCYoQcSPOo=",
  "commit" => "Send me reset password instructions",
  "controller" => "devise/passwords",
  "user" => {
    "email" => "[email protected]"
  },
  "utf8" => "✓"
}

Behaves poorly when heroku db capacity exceeded

I'm not sure how to address this, but it caused me some pain. Ultimately I figured out I had reached the capacity of the free Mongo database on Heroku.

The effect was that I stopped receiving email notifications and error logs didn't contain all of the details. Tracking this down was not easy, nor does there seem to be a way to clean up the old issues. I ended up doing it manually with a console.

I missed a few critical errors because the email notifications stopped.

Perhaps there should be a maximum on how many errors are stored and/or a way to clean up resolved issues. At least it would be nice if errbit behaved a little better in this case. MongoHQ has very hard limits and fails badly when capacity is reached.

Issue trackers integration.

I'd like Errbit to have an integration with issues trackers such as Lighthouseapp and Redmine.
I see this integration as a button on err's page that creates an issues on one of the trackers.
Does anyone except me need this? Any other tracker I should bear in mind?

[production][errs#show] Mongo::OperationFailure: too much data for sort() with no index. add an index or specify a small...

See this exception on Errbit

Mongo::OperationFailure: too much data for sort() with no index. add an index or specify a smaller limit

Summary

URL

http://errcamping.herokuapp.com/apps/69e00b7aeed4d9b10b9c7f105fe75eea/errs/4ec84f58bfb05f000500000b"

Where

errs#show

Occured

Nov 21 11:20am

Similar

2

Params

{
  "action" => "show",
  "app_id" => "69e00b7aeed4d9b10b9c7f105fe75eea",
  "controller" => "errs",
  "id" => "4ec84f58bfb05f000500000b"
}

Session

{
  "_csrf_token" => "21W7uS/C5C6An9TfOnr6JCm9PLRfzdJhpOX8s1DbMVA=",
  "key" => "flash",
  "session_id" => "b1c8d754f8b714381a534d19543beec4",
  "warden_user_user_key" => "[\"User\", [\"4ec847281085550006000001\"], \"$2a$10$5cReoBvsMssiEvGL27nPGO\"]"
}

Backtrace

101:  /vendor/bundle/ruby/1.9.1/gems/mongo-1.3.1/lib/mongo/cursor.rb -> **next_document**
251:  /vendor/bundle/ruby/1.9.1/gems/mongo-1.3.1/lib/mongo/collection.rb -> **find_one**
25:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/collections/master.rb -> **block in find_one**
29:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/collections/retry.rb -> **retry_on_connection_failure**
24:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/collections/master.rb -> **find_one**
48:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/collection.rb -> **find_one**
153:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/contexts/mongo.rb -> **first**
45:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/criteria.rb -> **first**
35:  [PROJECT_ROOT]/controllers/errs_controller.rb -> **show**
4:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/implicit_render.rb -> **send_action**
150:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/base.rb -> **process_action**
11:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/rendering.rb -> **process_action**
18:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/callbacks.rb -> **block in process_action**
456:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb -> **_run__3426348360647432410__process_action__4503593921537192942__callbacks**
410:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb -> **_run_process_action_callbacks**
94:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb -> **run_callbacks**
17:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/callbacks.rb -> **process_action**
17:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/rescue.rb -> **process_action**
30:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/instrumentation.rb -> **block in process_action**
52:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications.rb -> **block in instrument**
21:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications/instrumenter.rb -> **instrument**
52:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications.rb -> **instrument**
29:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/instrumentation.rb -> **process_action**
119:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/base.rb -> **process**
41:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/rendering.rb -> **process**
138:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal.rb -> **dispatch**
14:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/rack_delegation.rb -> **dispatch**
178:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal.rb -> **block in action**
62:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb -> **call**
62:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb -> **dispatch**
27:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb -> **call**
148:  /vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb -> **block in call**
93:  /vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **block in recognize**
117:  /vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **optimized_each**
92:  /vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **recognize**
139:  /vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb -> **call**
493:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb -> **call**
33:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/rack/mongoid/middleware/identity_map.rb -> **block in call**
130:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid.rb -> **unit_of_work**
33:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/rack/mongoid/middleware/identity_map.rb -> **call**
35:  /vendor/bundle/ruby/1.9.1/gems/warden-1.0.5/lib/warden/manager.rb -> **block in call**
34:  /vendor/bundle/ruby/1.9.1/gems/warden-1.0.5/lib/warden/manager.rb -> **catch**
34:  /vendor/bundle/ruby/1.9.1/gems/warden-1.0.5/lib/warden/manager.rb -> **call**
17:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/best_standards_support.rb -> **call**
14:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/head.rb -> **call**
24:  /vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/methodoverride.rb -> **call**
21:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/params_parser.rb -> **call**
182:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/flash.rb -> **call**
149:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/session/abstract_store.rb -> **call**
302:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/cookies.rb -> **call**
46:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/callbacks.rb -> **block in call**
416:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb -> **_run_call_callbacks**
44:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/callbacks.rb -> **call**
106:  /vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/sendfile.rb -> **call**
48:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/remote_ip.rb -> **call**
47:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/show_exceptions.rb -> **call**
13:  /vendor/bundle/ruby/1.9.1/gems/railties-3.0.10/lib/rails/rack/logger.rb -> **call**
17:  /vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/runtime.rb -> **call**
11:  /vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/lock.rb -> **block in call**
:  [unknown source] -> ****
11:  /vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/lock.rb -> **call**
30:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/static.rb -> **call**
168:  /vendor/bundle/ruby/1.9.1/gems/railties-3.0.10/lib/rails[PROJECT_ROOT]lication.rb -> **call**
77:  /vendor/bundle/ruby/1.9.1/gems/railties-3.0.10/lib/rails[PROJECT_ROOT]lication.rb -> **method_missing**
528:  /vendor/bundle/ruby/1.9.1/gems/unicorn-4.1.1/lib/unicorn/http_server.rb -> **process_client**
600:  /vendor/bundle/ruby/1.9.1/gems/unicorn-4.1.1/lib/unicorn/http_server.rb -> **worker_loop**
485:  /vendor/bundle/ruby/1.9.1/gems/unicorn-4.1.1/lib/unicorn/http_server.rb -> **spawn_missing_workers**
135:  /vendor/bundle/ruby/1.9.1/gems/unicorn-4.1.1/lib/unicorn/http_server.rb -> **start**
121:  /vendor/bundle/ruby/1.9.1/gems/unicorn-4.1.1/bin/unicorn -> **<top (required)>**
19:  /vendor/bundle/ruby/1.9.1/bin/unicorn -> **load**
19:  /vendor/bundle/ruby/1.9.1/bin/unicorn -> **<main>**

Environment

REMOTE_ADDR: 10.217.55.238
REQUEST_METHOD: GET
REQUEST_PATH: /apps/69e00b7aeed4d9b10b9c7f105fe75eea/errs/4ec84f58bfb05f000500000b
PATH_INFO: /apps/69e00b7aeed4d9b10b9c7f105fe75eea/errs/4ec84f58bfb05f000500000b
REQUEST_URI: /apps/69e00b7aeed4d9b10b9c7f105fe75eea/errs/4ec84f58bfb05f000500000b
SERVER_PROTOCOL: HTTP/1.1
HTTP_VERSION: HTTP/1.1
HTTP_X_FORWARDED_PROTO: http
HTTP_X_FORWARDED_PORT: 80
HTTP_X_FORWARDED_FOR: 90.168.143.241
HTTP_USER_AGENT: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.8 (KHTML, like Gecko) Ubuntu/11.10 Chromium/17.0.935.0 Chrome/17.0.935.0 Safari/535.8
HTTP_REFERER: http://errcamping.herokuapp.com/apps/69e00b7aeed4d9b10b9c7f105fe75eea
HTTP_HOST: errcamping.herokuapp.com
HTTP_COOKIE: remember_user_token=BAhbB1sGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVNpAchpTGktaRVpAYVpWmkAaQtpAGkAaQZJIhl1N2FDRThteXV6cU5YVUdNeUE4cQY6BkVU--8f94822cb5b4902f652940bf78e6ac3cff38b3c7; _errbit_session=BAh7CUkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjoGRVRbCEkiCVVzZXIGOwBGWwZvOhNCU09OOjpPYmplY3RJZAY6CkBkYXRhWxFpU2kByGlMaS1pFWkBhWlaaQBpC2kAaQBpBkkiIiQyYSQxMCQ1Y1Jlb0J2c01zc2lFdkdMMjduUEdPBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMTIxVzd1Uy9DNUM2QW45VGZPbnI2SkNtOVBMUmZ6ZEpocE9YOHMxRGJNVkE9BjsARkkiD3Nlc3Npb25faWQGOwBGIiViMWM4ZDc1NGY4YjcxNDM4MWE1MzRkMTk1NDNiZWVjNEkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgxzdWNjZXNzSSI0R3JlYXQgbmV3cyBldmVyeW9uZSEgVGhlIGVyciBoYXMgYmVlbiByZXNvbHZlZC4GOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsGOwlU--f69c57bf048386051c92fd736b9a62d59dd11c82
HTTP_CONNECTION: keep-alive
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8
HTTP_ACCEPT_ENCODING: gzip,deflate,sdch
HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.3
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_X_HEROKU_QUEUE_WAIT_TIME: 1
HTTP_X_HEROKU_QUEUE_DEPTH: 0
HTTP_X_HEROKU_DYNOS_IN_USE: 1
HTTP_X_REQUEST_START: 1321870822612
rack_url_scheme: http
SERVER_NAME: errcamping.herokuapp.com
SERVER_PORT: 80
key: action_dispatch.request.query_parameters
rack_input: #
rack_errors: #
rack_multiprocess: true
rack_multithread: false
rack_run_once: false
rack_version: ["1", "1"]
SERVER_SOFTWARE: Unicorn 4.1.1
rack_logger: #
action_dispatch_parameter_filter: ["password"]
action_dispatch_secret_token: 6b74778101638fa9c156b3928c9492fb2481ab842538bea838d21f9c9993f649f5806449584266d413d0b2f1104162b3066a86512ed71ededd627cd41f939614
action_dispatch_show_exceptions: true
action_dispatch_remote_ip: 90.168.143.241
rack_session: {"warden_user_user_key"=>"[\"User\", [\"4ec847281085550006000001\"], \"$2a$10$5cReoBvsMssiEvGL27nPGO\"]", "_csrf_token"=>"21W7uS/C5C6An9TfOnr6JCm9PLRfzdJhpOX8s1DbMVA=", "session_id"=>"b1c8d754f8b714381a534d19543beec4", "key"=>"flash"}
rack_session_options: {"path"=>"/", "key"=>"expire_after", "secure"=>"false", "httponly"=>"true", "id"=>"b1c8d754f8b714381a534d19543beec4"}
rack_request_cookie_string: remember_user_token=BAhbB1sGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVNpAchpTGktaRVpAYVpWmkAaQtpAGkAaQZJIhl1N2FDRThteXV6cU5YVUdNeUE4cQY6BkVU--8f94822cb5b4902f652940bf78e6ac3cff38b3c7; _errbit_session=BAh7CUkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjoGRVRbCEkiCVVzZXIGOwBGWwZvOhNCU09OOjpPYmplY3RJZAY6CkBkYXRhWxFpU2kByGlMaS1pFWkBhWlaaQBpC2kAaQBpBkkiIiQyYSQxMCQ1Y1Jlb0J2c01zc2lFdkdMMjduUEdPBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMTIxVzd1Uy9DNUM2QW45VGZPbnI2SkNtOVBMUmZ6ZEpocE9YOHMxRGJNVkE9BjsARkkiD3Nlc3Npb25faWQGOwBGIiViMWM4ZDc1NGY4YjcxNDM4MWE1MzRkMTk1NDNiZWVjNEkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgxzdWNjZXNzSSI0R3JlYXQgbmV3cyBldmVyeW9uZSEgVGhlIGVyciBoYXMgYmVlbiByZXNvbHZlZC4GOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsGOwlU--f69c57bf048386051c92fd736b9a62d59dd11c82
rack_request_cookie_hash: {"remember_user_token"=>"BAhbB1sGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVNpAchpTGktaRVpAYVpWmkAaQtpAGkAaQZJIhl1N2FDRThteXV6cU5YVUdNeUE4cQY6BkVU--8f94822cb5b4902f652940bf78e6ac3cff38b3c7", "_errbit_session"=>"BAh7CUkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjoGRVRbCEkiCVVzZXIGOwBGWwZvOhNCU09OOjpPYmplY3RJZAY6CkBkYXRhWxFpU2kByGlMaS1pFWkBhWlaaQBpC2kAaQBpBkkiIiQyYSQxMCQ1Y1Jlb0J2c01zc2lFdkdMMjduUEdPBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMTIxVzd1Uy9DNUM2QW45VGZPbnI2SkNtOVBMUmZ6ZEpocE9YOHMxRGJNVkE9BjsARkkiD3Nlc3Npb25faWQGOwBGIiViMWM4ZDc1NGY4YjcxNDM4MWE1MzRkMTk1NDNiZWVjNEkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgxzdWNjZXNzSSI0R3JlYXQgbmV3cyBldmVyeW9uZSEgVGhlIGVyciBoYXMgYmVlbiByZXNvbHZlZC4GOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsGOwlU--f69c57bf048386051c92fd736b9a62d59dd11c82"}
action_dispatch_cookies: {"remember_user_token"=>"BAhbB1sGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVNpAchpTGktaRVpAYVpWmkAaQtpAGkAaQZJIhl1N2FDRThteXV6cU5YVUdNeUE4cQY6BkVU--8f94822cb5b4902f652940bf78e6ac3cff38b3c7", "_errbit_session"=>"BAh7CUkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjoGRVRbCEkiCVVzZXIGOwBGWwZvOhNCU09OOjpPYmplY3RJZAY6CkBkYXRhWxFpU2kByGlMaS1pFWkBhWlaaQBpC2kAaQBpBkkiIiQyYSQxMCQ1Y1Jlb0J2c01zc2lFdkdMMjduUEdPBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMTIxVzd1Uy9DNUM2QW45VGZPbnI2SkNtOVBMUmZ6ZEpocE9YOHMxRGJNVkE9BjsARkkiD3Nlc3Npb25faWQGOwBGIiViMWM4ZDc1NGY4YjcxNDM4MWE1MzRkMTk1NDNiZWVjNEkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgxzdWNjZXNzSSI0R3JlYXQgbmV3cyBldmVyeW9uZSEgVGhlIGVyciBoYXMgYmVlbiByZXNvbHZlZC4GOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsGOwlU--f69c57bf048386051c92fd736b9a62d59dd11c82"}
action_dispatch_request_unsigned_session_cookie: {"warden_user_user_key"=>"[\"User\", [\"4ec847281085550006000001\"], \"$2a$10$5cReoBvsMssiEvGL27nPGO\"]", "_csrf_token"=>"21W7uS/C5C6An9TfOnr6JCm9PLRfzdJhpOX8s1DbMVA=", "session_id"=>"b1c8d754f8b714381a534d19543beec4", "key"=>"flash"}
warden: Warden::Proxy:56205960 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :token_authenticatable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>Devise::FailureApp}
action_dispatch_request_path_parameters: {"action"=>"show", "controller"=>"errs", "app_id"=>"69e00b7aeed4d9b10b9c7f105fe75eea", "id"=>"4ec84f58bfb05f000500000b"}
action_controller_instance: #
action_dispatch_request_parameters: {"action"=>"show", "controller"=>"errs", "app_id"=>"69e00b7aeed4d9b10b9c7f105fe75eea", "id"=>"4ec84f58bfb05f000500000b"}
action_dispatch_request_formats: ["text/html"]

Migrate errs to problems?

Hi,

don't really know what is going on (so the subject might not be correct) but I just upgraded from revision f18852d (sept 21.) to the latest master 3851c29 (sept 30.) and prompt i have an extra admin user and all errors (resolved and not resolved) aren't showing on the UI (they seem to remain in the database).

From what i saw, there is now a new model - Problem - and the Err modle seems to belong to that. I.e. Problems are now being shown instead of Errs and Errs are attached to a Problem (to cluster Errs?). Anyway, is there a migration strategy for existing data?

Also, i noticed the the _table partial for errs has changed and doesn't show issue links (if an error has an issue). Is this know handled somewhere else or aren't issues created anymore from errbit?

Sorry if this already covered somewhere else + Thanks for the new styling :)

undefined method `[]' for nil:NilClass (NoMethodError)

If you're seeing this sort of error in app/models/issue_tracker.rb then chances are ActionMailer default_url_options isn't setup right.

... Setting ActionMailer::Base.default_url_options directly is now deprecated ... (source: http://api.rubyonrails.org/classes/ActionMailer/Base.html)

So open up config/initializers/_load_config.rb, and replace ActionMailer::Base.default_url_options with

# Set config specific values
(Errbit::Application.config.action_mailer.default_url_options ||= {}).tap do |default|
  default.merge! :host => Errbit::Config.host
end

If you have a cleaner solution, please do tell.

Deleting a problem throws an error

I get this error in the logs when deleting a problem.

RuntimeError: Notice#problem delegated to err.problem, but err is nil: #<Notice _id: 4e83977adb0e3e3c63000011, klass: nil, created_at: Wed Sep 28 21:54:02 UTC 2011, err_id: BSON::ObjectId('4e83977adb0e3e3c63000013'),

Here's the stacktrace:

[PROJECT_ROOT]/app/models/notice.rb:32 → problem
[PROJECT_ROOT]/app/models/notice.rb:94 → decrease_counter_cache
[GEM_ROOT]/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:415 → _run_destroy_callbacks
[GEM_ROOT]/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:94 → send
[GEM_ROOT]/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:94 → run_callbacks
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/persistence.rb:31 → destroy
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/relations/cascading/destroy.rb:14 → cascade
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/relations/cascading/destroy.rb:14 → each
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/relations/cascading/destroy.rb:14 → cascade
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/relations/cascading.rb:32 → cascade!
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/relations/cascading.rb:29 → each
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/relations/cascading.rb:29 → cascade!
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/persistence/deletion.rb:25 → prepare
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/persistence/operations/remove.rb:26 → persist
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/persistence.rb:56 → remove
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/persistence.rb:31 → destroy
[GEM_ROOT]/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:414 → _run_destroy_callbacks
[GEM_ROOT]/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:94 → send
[GEM_ROOT]/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:94 → run_callbacks
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/persistence.rb:31 → destroy
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/relations/cascading/destroy.rb:14 → cascade
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/relations/cascading/destroy.rb:14 → each
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/relations/cascading/destroy.rb:14 → cascade
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/relations/cascading.rb:32 → cascade!
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/relations/cascading.rb:29 → each
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/relations/cascading.rb:29 → cascade!
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/persistence/deletion.rb:25 → prepare
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/persistence/operations/remove.rb:26 → persist
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/persistence.rb:56 → remove
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/persistence.rb:31 → destroy
[GEM_ROOT]/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:414 → _run_destroy_callbacks
[GEM_ROOT]/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:94 → send
[GEM_ROOT]/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:94 → run_callbacks
[GEM_ROOT]/gems/mongoid-2.1.2/lib/mongoid/persistence.rb:31 → destroy
[GEM_ROOT]/gems/haml-3.0.25/lib/haml/helpers.rb:540 → to_proc
[PROJECT_ROOT]/app/controllers/errs_controller.rb:122 → each
[PROJECT_ROOT]/app/controllers/errs_controller.rb:122 → destroy_several

[production][notices#create] Mongoid::Errors::InvalidType: Field was defined as a(n) Array, but received a Hash with the value...

See this exception on Errbit

Mongoid::Errors::InvalidType: Field was defined as a(n) Array, but received a Hash with the value {"method"=>"{anonymous}()", "file"=>"http://d3lvr7yuk4uaui.cloudfront.net/items/domains/w/wuaki.tv.js", "number"=>"1"}.

Summary

URL

http://wuaki.herokuapp.com/notifier_api/v2/notices.xml?data=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%20%20%3Cnotice%20version%3D%222.0%22%3E%20%20%20%20%3Capi-key%3E62316fcc76c9b55b89de6a3a46efeee0%3C/api-key%3E%20%20%20%20%3Cnotifier%3E%20%20%20%20%20%20%3Cname%3Eerrbit_notifier_js%3C/name%3E%20%20%20%20%20%20%3Cversion%3E2.0%3C/version%3E%20%20%20%20%20%20%3Curl%3Ehttps%3A//github.com/jdpace/errbit%3C/url%3E%20%20%20%20%3C/notifier%3E%20%20%20%20%3Cerror%3E%20%20%20%20%20%20%3Cclass%3Esession%3C/class%3E%20%20%20%20%20%20%3Cmessage%3EError%20loading%20script%3C/message%3E%20%20%20%20%20%20%3Cbacktrace%3E%3Cline%20method%3D%22%7Banonymous%7D%28%29%22%20file%3D%22http%3A//d3lvr7yuk4uaui.cloudfront.net/items/domains/w/wuaki.tv.js%22%20number%3D%221%22%20/%3E%3C/backtrace%3E%20%20%20%20%3C/error%3E%20%20%20%20%3Crequest%3E%20%20%20%20%20%20%3Curl%3Ehttp%3A//wuaki.tv/%3Fgclid%3DCKXFjoWO8qoCFZMi3wodgwwHPw%3C/url%3E%20%20%20%20%20%20%3Ccomponent%3Efrontpage%3C/component%3E%20%20%20%20%20%20%3Caction%3Efrontpage%3C/action%3E%20%20%20%20%3Ccgi-data%3E%3Cvar%20key%3D%22HTTP_USER_AGENT%22%3EMozilla/5.0%20%28Windows%3B%20U%3B%20Windows%20NT%205.2%3B%20es-ES%3B%20rv%3A1.9.2.20%29%20Gecko/20110803%20AskTbGOM2/3.12.2.16749%20BTRS5305%20Firefox/3.6.20%3C/var%3E%3C/cgi-data%3E%3C/request%3E%20%20%20%20%3Cserver-environment%3E%20%20%20%20%20%20%3Cproject-root%3Ehttp%3A//wuaki.tv%3C/project-root%3E%20%20%20%20%20%20%3Cenvironment-name%3Eproduction%3C/environment-name%3E%20%20%20%20%3C/server-environment%3E%20%20%3C/notice%3E"

Where

notices#create

Occured

Aug 28 6:37am

Similar

180

Params

{
  "action" => "create",
  "controller" => "notices",
  "data" => "<?xml version=\"1.0\" encoding=\"UTF-8\"?>  <notice version=\"2.0\">    <api-key>62316fcc76c9b55b89de6a3a46efeee0</api-key>    <notifier>      <name>errbit_notifier_js</name>      <version>2.0</version>      <url>https://github.com/jdpace/errbit</url>    </notifier>    <error>      <class>session</class>      <message>Error loading script</message>      <backtrace><line method=\"{anonymous}()\" file=\"http://d3lvr7yuk4uaui.cloudfront.net/items/domains/w/wuaki.tv.js\" number=\"1\" /></backtrace>    </error>    <request>      <url>http://wuaki.tv/?gclid=CKXFjoWO8qoCFZMi3wodgwwHPw</url>      <component>frontpage</component>      <action>frontpage</action>    <cgi-data><var key=\"HTTP_USER_AGENT\">Mozilla/5.0 (Windows; U; Windows NT 5.2; es-ES; rv:1.9.2.20) Gecko/20110803 AskTbGOM2/3.12.2.16749 BTRS5305 Firefox/3.6.20</var></cgi-data></request>    <server-environment>      <project-root>http://wuaki.tv</project-root>      <environment-name>production</environment-name>    </server-environment>  </notice>",
  "format" => "xml"
}

Session

{
}

Backtrace

57:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/fields/serializable/array.rb -> **raise_or_return**
36:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/fields/serializable/array.rb -> **serialize**
173:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/attributes.rb -> **typed_value_for**
96:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/attributes.rb -> **write_attribute**
253:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/fields.rb -> **block (2 levels) in create_accessors**
97:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/attributes/processing.rb -> **process_attribute**
25:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/attributes/processing.rb -> **block in process**
23:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/attributes/processing.rb -> **each_pair**
23:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/attributes/processing.rb -> **process**
130:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/document.rb -> **block in initialize**
47:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/relations/builders.rb -> **building**
127:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/document.rb -> **initialize**
19:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/factory.rb -> **new**
19:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/factory.rb -> **build**
56:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/relations/referenced/many.rb -> **build**
114:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid/relations/referenced/many.rb -> **create!**
45:  [PROJECT_ROOT]/models/notice.rb -> **from_xml**
8:  [PROJECT_ROOT]/controllers/notices_controller.rb -> **create**
4:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal/implicit_render.rb -> **send_action**
150:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/abstract_controller/base.rb -> **process_action**
11:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal/rendering.rb -> **process_action**
18:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/abstract_controller/callbacks.rb -> **block in process_action**
435:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/callbacks.rb -> **_run__1404054578492394589__process_action__1413846483483613545__callbacks**
409:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/callbacks.rb -> **_run_process_action_callbacks**
93:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/callbacks.rb -> **run_callbacks**
17:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/abstract_controller/callbacks.rb -> **process_action**
30:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal/instrumentation.rb -> **block in process_action**
52:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/notifications.rb -> **block in instrument**
21:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/notifications/instrumenter.rb -> **instrument**
52:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/notifications.rb -> **instrument**
29:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal/instrumentation.rb -> **process_action**
17:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal/rescue.rb -> **process_action**
119:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/abstract_controller/base.rb -> **process**
41:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/abstract_controller/rendering.rb -> **process**
138:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal.rb -> **dispatch**
14:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal/rack_delegation.rb -> **dispatch**
178:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_controller/metal.rb -> **block in action**
62:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb -> **call**
62:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb -> **dispatch**
27:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb -> **call**
148:  /vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb -> **block in call**
93:  /vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **block in recognize**
68:  /vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **optimized_each**
92:  /vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **recognize**
139:  /vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb -> **call**
492:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb -> **call**
33:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/rack/mongoid/middleware/identity_map.rb -> **block in call**
130:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/mongoid.rb -> **unit_of_work**
33:  /vendor/bundle/ruby/1.9.1/gems/mongoid-2.1.2/lib/rack/mongoid/middleware/identity_map.rb -> **call**
41:  /vendor/bundle/ruby/1.9.1/gems/haml-3.0.25/lib/sass/plugin/rack.rb -> **call**
35:  /vendor/bundle/ruby/1.9.1/gems/warden-1.0.5/lib/warden/manager.rb -> **block in call**
34:  /vendor/bundle/ruby/1.9.1/gems/warden-1.0.5/lib/warden/manager.rb -> **catch**
34:  /vendor/bundle/ruby/1.9.1/gems/warden-1.0.5/lib/warden/manager.rb -> **call**
17:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/best_standards_support.rb -> **call**
14:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/head.rb -> **call**
24:  /vendor/bundle/ruby/1.9.1/gems/rack-1.2.2/lib/rack/methodoverride.rb -> **call**
21:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/params_parser.rb -> **call**
182:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/flash.rb -> **call**
149:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/session/abstract_store.rb -> **call**
302:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/cookies.rb -> **call**
46:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/callbacks.rb -> **block in call**
415:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/callbacks.rb -> **_run_call_callbacks**
44:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/callbacks.rb -> **call**
107:  /vendor/bundle/ruby/1.9.1/gems/rack-1.2.2/lib/rack/sendfile.rb -> **call**
48:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/remote_ip.rb -> **call**
47:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/show_exceptions.rb -> **call**
13:  /vendor/bundle/ruby/1.9.1/gems/railties-3.0.5/lib/rails/rack/logger.rb -> **call**
17:  /vendor/bundle/ruby/1.9.1/gems/rack-1.2.2/lib/rack/runtime.rb -> **call**
72:  /vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/cache/strategy/local_cache.rb -> **call**
11:  /vendor/bundle/ruby/1.9.1/gems/rack-1.2.2/lib/rack/lock.rb -> **block in call**
:   -> ****
11:  /vendor/bundle/ruby/1.9.1/gems/rack-1.2.2/lib/rack/lock.rb -> **call**
30:  /vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/static.rb -> **call**
168:  /vendor/bundle/ruby/1.9.1/gems/railties-3.0.5/lib/rails[PROJECT_ROOT]lication.rb -> **call**
77:  /vendor/bundle/ruby/1.9.1/gems/railties-3.0.5/lib/rails[PROJECT_ROOT]lication.rb -> **method_missing**
14:  /vendor/bundle/ruby/1.9.1/gems/railties-3.0.5/lib/rails/rack/log_tailer.rb -> **call**
13:  /vendor/bundle/ruby/1.9.1/gems/rack-1.2.2/lib/rack/content_length.rb -> **call**
15:  /vendor/bundle/ruby/1.9.1/gems/rack-1.2.2/lib/rack/chunked.rb -> **call**
84:  /vendor/bundle/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb -> **block in pre_process**
82:  /vendor/bundle/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb -> **catch**
82:  /vendor/bundle/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb -> **pre_process**
57:  /vendor/bundle/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb -> **process**
42:  /vendor/bundle/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb -> **receive_data**
256:  /vendor/bundle/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb -> **run_machine**
256:  /vendor/bundle/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb -> **run**
61:  /vendor/bundle/ruby/1.9.1/gems/thin-1.2.11/lib/thin/backends/base.rb -> **start**
159:  /vendor/bundle/ruby/1.9.1/gems/thin-1.2.11/lib/thin/server.rb -> **start**
14:  /vendor/bundle/ruby/1.9.1/gems/rack-1.2.2/lib/rack/handler/thin.rb -> **run**
213:  /vendor/bundle/ruby/1.9.1/gems/rack-1.2.2/lib/rack/server.rb -> **start**
65:  /vendor/bundle/ruby/1.9.1/gems/railties-3.0.5/lib/rails/commands/server.rb -> **start**
30:  /vendor/bundle/ruby/1.9.1/gems/railties-3.0.5/lib/rails/commands.rb -> **block in <top (required)>**
27:  /vendor/bundle/ruby/1.9.1/gems/railties-3.0.5/lib/rails/commands.rb -> **tap**
27:  /vendor/bundle/ruby/1.9.1/gems/railties-3.0.5/lib/rails/commands.rb -> **<top (required)>**
6:  script/rails -> **require**
6:  script/rails -> **<main>**

Environment

SERVER_SOFTWARE: thin 1.2.11 codename Bat-Shit Crazy
SERVER_NAME: wuaki.herokuapp.com
rack.input: #
rack.version: ["1", "0"]
rack.errors: #
rack.multithread: false
rack.multiprocess: false
rack.run_once: false
REQUEST_METHOD: GET
REQUEST_PATH: /notifier_api/v2/notices.xml
PATH_INFO: /notifier_api/v2/notices.xml
QUERY_STRING: data=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%20%20%3Cnotice%20version%3D%222.0%22%3E%20%20%20%20%3Capi-key%3E62316fcc76c9b55b89de6a3a46efeee0%3C/api-key%3E%20%20%20%20%3Cnotifier%3E%20%20%20%20%20%20%3Cname%3Eerrbit_notifier_js%3C/name%3E%20%20%20%20%20%20%3Cversion%3E2.0%3C/version%3E%20%20%20%20%20%20%3Curl%3Ehttps%3A//github.com/jdpace/errbit%3C/url%3E%20%20%20%20%3C/notifier%3E%20%20%20%20%3Cerror%3E%20%20%20%20%20%20%3Cclass%3Esession%3C/class%3E%20%20%20%20%20%20%3Cmessage%3EError%20loading%20script%3C/message%3E%20%20%20%20%20%20%3Cbacktrace%3E%3Cline%20method%3D%22%7Banonymous%7D%28%29%22%20file%3D%22http%3A//d3lvr7yuk4uaui.cloudfront.net/items/domains/w/wuaki.tv.js%22%20number%3D%221%22%20/%3E%3C/backtrace%3E%20%20%20%20%3C/error%3E%20%20%20%20%3Crequest%3E%20%20%20%20%20%20%3Curl%3Ehttp%3A//wuaki.tv/%3Fgclid%3DCKXFjoWO8qoCFZMi3wodgwwHPw%3C/url%3E%20%20%20%20%20%20%3Ccomponent%3Efrontpage%3C/component%3E%20%20%20%20%20%20%3Caction%3Efrontpage%3C/action%3E%20%20%20%20%3Ccgi-data%3E%3Cvar%20key%3D%22HTTP_USER_AGENT%22%3EMozilla/5.0%20%28Windows%3B%20U%3B%20Windows%20NT%205.2%3B%20es-ES%3B%20rv%3A1.9.2.20%29%20Gecko/20110803%20AskTbGOM2/3.12.2.16749%20BTRS5305%20Firefox/3.6.20%3C/var%3E%3C/cgi-data%3E%3C/request%3E%20%20%20%20%3Cserver-environment%3E%20%20%20%20%20%20%3Cproject-root%3Ehttp%3A//wuaki.tv%3C/project-root%3E%20%20%20%20%20%20%3Cenvironment-name%3Eproduction%3C/environment-name%3E%20%20%20%20%3C/server-environment%3E%20%20%3C/notice%3E
REQUEST_URI: /notifier_api/v2/notices.xml?data=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%20%20%3Cnotice%20version%3D%222.0%22%3E%20%20%20%20%3Capi-key%3E62316fcc76c9b55b89de6a3a46efeee0%3C/api-key%3E%20%20%20%20%3Cnotifier%3E%20%20%20%20%20%20%3Cname%3Eerrbit_notifier_js%3C/name%3E%20%20%20%20%20%20%3Cversion%3E2.0%3C/version%3E%20%20%20%20%20%20%3Curl%3Ehttps%3A//github.com/jdpace/errbit%3C/url%3E%20%20%20%20%3C/notifier%3E%20%20%20%20%3Cerror%3E%20%20%20%20%20%20%3Cclass%3Esession%3C/class%3E%20%20%20%20%20%20%3Cmessage%3EError%20loading%20script%3C/message%3E%20%20%20%20%20%20%3Cbacktrace%3E%3Cline%20method%3D%22%7Banonymous%7D%28%29%22%20file%3D%22http%3A//d3lvr7yuk4uaui.cloudfront.net/items/domains/w/wuaki.tv.js%22%20number%3D%221%22%20/%3E%3C/backtrace%3E%20%20%20%20%3C/error%3E%20%20%20%20%3Crequest%3E%20%20%20%20%20%20%3Curl%3Ehttp%3A//wuaki.tv/%3Fgclid%3DCKXFjoWO8qoCFZMi3wodgwwHPw%3C/url%3E%20%20%20%20%20%20%3Ccomponent%3Efrontpage%3C/component%3E%20%20%20%20%20%20%3Caction%3Efrontpage%3C/action%3E%20%20%20%20%3Ccgi-data%3E%3Cvar%20key%3D%22HTTP_USER_AGENT%22%3EMozilla/5.0%20%28Windows%3B%20U%3B%20Windows%20NT%205.2%3B%20es-ES%3B%20rv%3A1.9.2.20%29%20Gecko/20110803%20AskTbGOM2/3.12.2.16749%20BTRS5305%20Firefox/3.6.20%3C/var%3E%3C/cgi-data%3E%3C/request%3E%20%20%20%20%3Cserver-environment%3E%20%20%20%20%20%20%3Cproject-root%3Ehttp%3A//wuaki.tv%3C/project-root%3E%20%20%20%20%20%20%3Cenvironment-name%3Eproduction%3C/environment-name%3E%20%20%20%20%3C/server-environment%3E%20%20%3C/notice%3E
HTTP_VERSION: HTTP/1.1
HTTP_X_FORWARDED_PROTO: http
HTTP_X_FORWARDED_PORT: 80
HTTP_X_FORWARDED_FOR: 88.9.149.233
HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.2; es-ES; rv:1.9.2.20) Gecko/20110803 AskTbGOM2/3.12.2.16749 BTRS5305 Firefox/3.6.20
HTTP_REFERER: http://wuaki.tv/?gclid=CKXFjoWO8qoCFZMi3wodgwwHPw
HTTP_HOST: wuaki.herokuapp.com
HTTP_CONNECTION: keep-alive
HTTP_ACCEPT_LANGUAGE: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3
HTTP_ACCEPT_ENCODING: gzip,deflate
HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_X_HEROKU_QUEUE_WAIT_TIME: 2
HTTP_X_HEROKU_QUEUE_DEPTH: 0
HTTP_X_HEROKU_DYNOS_IN_USE: 1
HTTP_X_REQUEST_START: 1314538642135
GATEWAY_INTERFACE: CGI/1.2
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
rack.url_scheme: http
key: action_dispatch.request.request_parameters
REMOTE_ADDR: 10.78.17.188
async.callback: #
async.close: #
action_dispatch.parameter_filter: ["password"]
action_dispatch.secret_token: 6b74778101638fa9c156b3928c9492fb2481ab842538bea838d21f9c9993f649f5806449584266d413d0b2f1104162b3066a86512ed71ededd627cd41f939614
action_dispatch.remote_ip: 88.9.149.233
rack.session.options: {"path"=>"/", "key"=>"id", "secure"=>"false", "httponly"=>"true"}
warden: Warden::Proxy:40509420 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :token_authenticatable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>Devise::FailureApp}
action_dispatch.request.path_parameters: {"controller"=>"notices", "action"=>"create", "format"=>"xml"}
action_controller.instance: #
rack.request.query_string: data=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%20%20%3Cnotice%20version%3D%222.0%22%3E%20%20%20%20%3Capi-key%3E62316fcc76c9b55b89de6a3a46efeee0%3C/api-key%3E%20%20%20%20%3Cnotifier%3E%20%20%20%20%20%20%3Cname%3Eerrbit_notifier_js%3C/name%3E%20%20%20%20%20%20%3Cversion%3E2.0%3C/version%3E%20%20%20%20%20%20%3Curl%3Ehttps%3A//github.com/jdpace/errbit%3C/url%3E%20%20%20%20%3C/notifier%3E%20%20%20%20%3Cerror%3E%20%20%20%20%20%20%3Cclass%3Esession%3C/class%3E%20%20%20%20%20%20%3Cmessage%3EError%20loading%20script%3C/message%3E%20%20%20%20%20%20%3Cbacktrace%3E%3Cline%20method%3D%22%7Banonymous%7D%28%29%22%20file%3D%22http%3A//d3lvr7yuk4uaui.cloudfront.net/items/domains/w/wuaki.tv.js%22%20number%3D%221%22%20/%3E%3C/backtrace%3E%20%20%20%20%3C/error%3E%20%20%20%20%3Crequest%3E%20%20%20%20%20%20%3Curl%3Ehttp%3A//wuaki.tv/%3Fgclid%3DCKXFjoWO8qoCFZMi3wodgwwHPw%3C/url%3E%20%20%20%20%20%20%3Ccomponent%3Efrontpage%3C/component%3E%20%20%20%20%20%20%3Caction%3Efrontpage%3C/action%3E%20%20%20%20%3Ccgi-data%3E%3Cvar%20key%3D%22HTTP_USER_AGENT%22%3EMozilla/5.0%20%28Windows%3B%20U%3B%20Windows%20NT%205.2%3B%20es-ES%3B%20rv%3A1.9.2.20%29%20Gecko/20110803%20AskTbGOM2/3.12.2.16749%20BTRS5305%20Firefox/3.6.20%3C/var%3E%3C/cgi-data%3E%3C/request%3E%20%20%20%20%3Cserver-environment%3E%20%20%20%20%20%20%3Cproject-root%3Ehttp%3A//wuaki.tv%3C/project-root%3E%20%20%20%20%20%20%3Cenvironment-name%3Eproduction%3C/environment-name%3E%20%20%20%20%3C/server-environment%3E%20%20%3C/notice%3E
rack.request.query_hash: {"data"=>" 62316fcc76c9b55b89de6a3a46efeee0 errbit_notifier_js 2.0 https://github.com/jdpace/errbit session Error loading script http://wuaki.tv/?gclid=CKXFjoWO8qoCFZMi3wodgwwHPw frontpage frontpage Mozilla/5.0 (Windows; U; Windows NT 5.2; es-ES; rv:1.9.2.20) Gecko/20110803 AskTbGOM2/3.12.2.16749 BTRS5305 Firefox/3.6.20 http://wuaki.tv production "}
action_dispatch.request.query_parameters: {"data"=>" 62316fcc76c9b55b89de6a3a46efeee0 errbit_notifier_js 2.0 https://github.com/jdpace/errbit session Error loading script http://wuaki.tv/?gclid=CKXFjoWO8qoCFZMi3wodgwwHPw frontpage frontpage Mozilla/5.0 (Windows; U; Windows NT 5.2; es-ES; rv:1.9.2.20) Gecko/20110803 AskTbGOM2/3.12.2.16749 BTRS5305 Firefox/3.6.20 http://wuaki.tv production "}
action_dispatch.request.parameters: {"data"=>" 62316fcc76c9b55b89de6a3a46efeee0 errbit_notifier_js 2.0 https://github.com/jdpace/errbit session Error loading script http://wuaki.tv/?gclid=CKXFjoWO8qoCFZMi3wodgwwHPw frontpage frontpage Mozilla/5.0 (Windows; U; Windows NT 5.2; es-ES; rv:1.9.2.20) Gecko/20110803 AskTbGOM2/3.12.2.16749 BTRS5305 Firefox/3.6.20 http://wuaki.tv production ", "controller"=>"notices", "action"=>"create", "format"=>"xml"}
action_dispatch.request.formats: ["application/xml"]

Missing file field leads to exception

Hi,

when a stacktrace is for whatever reason missing a file for a stack trace element the message still gets stored in the db and leads to an exception when rendering the view. I think the correct behaviour would be either to set a default value for the file field, like "unknown source" or to reject the message.

Add a UI alert to show when Errbit upgrades are available

Summary

When the deployed version of Errbit is out of date, we would display a small icon next to the Errbit logo. This would show that updates are available for your self-hosted instance of Errbit.

It should work out of the box for any Rails application (i.e. no rake tasks or cron), and It would be written as a Rails engine + gem, since I also want the same feature for other apps, such as Fat Free CRM.

Overview

Let's say that this gem will be called 'Github Update Notifications'.

We would create a table / document called self_versions, or a file at tmp/self_versions.yml. This would be configurable in config/initializers/github_update_notifications. We would also need to store values for last_checked_at and updates_available.

We would add a :github_update_notifications before filter to ApplicationController, so that we set @updates_available to the currently stored value, and look up the last_checked_at field for every request.
If last_checked_at is older than 4 hours, we would set the class variable @@check_for_updates to true.

In our application layout, we would have a conditional script that fires off an AJAX request, which starts the poll for updates. This is so that updating available versions happens in the background, without blocking and affecting the user.

- if @@check_for_updates
  :javascript
    // after page has loaded, fire AJAX request
    $(function() {
      GithubUpdateNotifications.check();
    });

The AJAX call would be handled by an GithubUpdateNotifications controller, which would fetch the list of tags from the github repo. For example: http://github.com/api/v2/json/repos/show/errbit/errbit/tags returns something like:

{
  "tags": {
    "v1.2.0": "cfad76700b3d38eb3be97e2d5ef75cc0a398f818",
    "v1.2.5": "94f389bf5d9af4511597d035e69d1be9510b50c7",
    "v1.0.7": "1adc5b8136c2cd6c694629947e1dbc49c8bffe6a"
  }
}

These tags and revisions would be stored in the self_versions table / document / temp file.
If there is version available that is greater than the deployed version of Errbit, then we would set updates_available to true.
Note: Heroku provides a REVISION environment variable, and capistrano deployments store the revision in a ./REVISION file. Tags are not available, so apps would need to store their current version in a file such as .version, or ./lib/{{app}}/version.rb.

(the AJAX call would return the data for the 'available updates' icon if any updates are available. If not, it would return nothing.)

Again, in our application layout, we would conditionally display the 'available updates' icon next to the logo:

- if @updates_available
  #github_update_notifications
    = img_tag ... etc.

When the icon is clicked, it would show an overlay with the list of newer tags, and links to view the changesets on github.

Users could configure different notification levels. i.e. notify on major, minor, and patch updates. The default would be to only notify on minor or 'major' version changes.
Different colors could indicate the importance of updates. i.e. patch => pink, minor => yellow, major => orange

Alright, those are my thoughts. Comments and suggestions are welcome!

No I18n?!

So I look at errbit and give it an install and am suitably impressed and happy, now I just need to translate the UI. A quick pop to the config/locales directory shows that the en.yml file is empty....hmm.

Ok, maybe jdpace is using defaults and hasn't bothered to fill in the yml file, strange but not exactly terrible.

Better check the actual files....what...no use of the built-in i18n functions?! Nothing? Hard-coded strings?! AAAAAAAARRRRRRRRGGGGGGGHHHHHHHHHhhhhhhh

Honestly really rather shocked about this. Errbit looks like such a well-designed app I am really surprised this has been overlooked. There is an entire non-English speaking world out there guys :p

Oh well, better get forking.

sending mails?

Hi,

Thanks for errbit, it's a great help. Would be perfect if mails could be sent.

I added an initializer:

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.perform_deliveries = true

ActionMailer::Base.smtp_settings = {
    :address              => Errbit::Config.smtp,
    :port                 =>  "587",
    :domain               => Errbit::Config.domain,
    :user_name            => Errbit::Config.email_from,
    :password             => Errbit::Config.password,
    :authentication       => "plain",
    :enable_starttls_auto => true
 }

And of course, I added the values ton the configuration file.

But still no joy... What am I missing please?

App will crash when Errbit app was crash

Completed 500 Internal Server Error in 19ms
** [Hoptoad] Timeout while contacting the Hoptoad server.
** [Hoptoad] Environment Info: [Ruby: 1.9.3] [Rails: 3.1.2] [Env: production]
** [Hoptoad] Failure: NilClass
** [Hoptoad] Environment Info: [Ruby: 1.9.3] [Rails: 3.1.2] [Env: production]

NameError (uninitialized constant Notifications):
  app/controllers/mine/settings_controller.rb:29:in `update'

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.