Defect #6

info.rhtml uninitialized constant

Added by Todd McGrath almost 14 years ago. Updated over 8 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution: Affected version:


Maybe you already know this one? When I click on Administration information (/admin/info)...

ActionView::TemplateError (uninitialized constant Rails::Info) on line #7 of app/views/admin/info.rhtml:
5: <%=l(:label_environment)%>:
6: <ul>
7: <% do |name, value| >
8: <li><
= name >: <= value ></li>
9: <
end %>
10: </ul>
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:264:in `load_missing_constant'
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:453:in `const_missing'
#{RAILS_ROOT}/app/views/admin/info.rhtml:7:in `_run_rhtml_47app47views47admin47info46rhtml'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.1/lib/action_view/base.rb:326:in `compile_and_render_template'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.1/lib/action_view/base.rb:301:in `render_template'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.1/lib/action_view/base.rb:260:in `render_file'

I using the latest from Trunk and Rails 1.2


#1 Updated by Jean-Philippe Lang almost 14 years ago

Yes, with rails 1.2 it only works in development environment.
So I removed these informations.

Also available in: Atom PDF