Java wrote:
> 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'

Could you please post line 20 of application_helper.rb


-- 
Rails Wheels - Find Plugins, List & Sell Plugins - http://railswheels.com

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to