Hi,
I'm getting an error I just can't find any cause for.
The error is "A copy of ApplicationHelper has been removed from the
module tree but is still active!" and gets thrown
in a Template that uses a method defined in my ApplicationHelper. The
error occurs only in development mode.
The error did not occur before my switch to Ruby 1.8.7 and Rails 2.1.2
minutes ago.
I have absolutely no clue about what could be causing this.
The problem occurs on windows as well as MacOS X 10.5
Any help would be appreciated.
regards
Jan
Stacktrace:
ActionView::TemplateError (A copy of ApplicationHelper has been
removed from the module tree but is still active!) on line #57 of
photosessions/show.html.erb:
54: </td>
55: <td class="cell-select">
56: <select name="formats[]" class="format">
57: <%=
price_options_for(@photosession.typ) %>
58: </select>
59: </td>
60: <td class="cell-remove">
/opt/local/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/
active_support/dependencies.rb:250:in `load_missing_constant'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/
active_support/dependencies.rb:468:in `const_missing'
app/helpers/application_helper.rb:20:in `price_options_for'
app/views/photosessions/show.html.erb:57:in
`_run_erb_47app47views47photosessions47show46html46erb'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/
base.rb:342:in `send'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/
base.rb:342:in `execute'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/
template_handlers/compilable.rb:29:in `send'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/
template_handlers/compilable.rb:29:in `render'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/
template.rb:35:in `render'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/
template.rb:22:in `render_template'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/
base.rb:248:in `render_file'
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---