Skip to content

Instantly share code, notes, and snippets.

@cbmeeks
Created June 25, 2011 17:39
Show Gist options
  • Save cbmeeks/1046697 to your computer and use it in GitHub Desktop.
Save cbmeeks/1046697 to your computer and use it in GitHub Desktop.
Crash
ArgumentError in User_sessions#new
Showing app/views/layouts/application.html.erb where line #28 raised:
A copy of ApplicationHelper has been removed from the module tree but is still active!
Extracted source (around line #28):
25: <div class="R"></div>
26: <div class="mid">
27: <div class="mainLinks">
28: <% if brand? == :BMI %>
29: <%= link_to(image_tag('nv/logo/bmilogo.png', :alt => 'BMI Backoffice', :width => '142', :height => '44'), root_url) %>
30: <% else %>
31: <%= link_to(image_tag('nv/logo/logo.png', :alt => 'CCNETWEB Backoffice', :width => '142', :height => '44'), root_url) %>
RAILS_ROOT: /Users/Shared/Dropbox/Projects/customers/bsm/ccn
Application Trace | Framework Trace | Full Trace
/Users/cbmeeks/.rvm/gems/ruby-1.8.7-p302@ccn/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:440:in `load_missing_constant'
/Users/cbmeeks/.rvm/gems/ruby-1.8.7-p302@ccn/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:106:in `const_missing'
/Users/Shared/Dropbox/Projects/customers/bsm/ccn/app/helpers/application_helper.rb:300:in `brand?'
/Users/Shared/Dropbox/Projects/customers/bsm/ccn/app/views/layouts/application.html.erb:28:in `_run_erb_app47views47layouts47application46html46erb'
Request
Parameters:
None
Show session dump
---
Response
Headers:
{"Content-Type"=>"text/html",
"Cache-Control"=>"no-cache"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment