rails 2.3.2 uninitialized constant ActionView::Helpers::FormHelper

Problem:

/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:440:in `load_missing_constant':NameError: uninitialized constant ActionView::Helpers::FormHelper
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:443:in `load_missing_constant':NameError: uninitialized constant ApplicationController

Solution: for me it was that I did

require "calendar_date_select"

in environment.rb before the config. You have to move that require line to the end of the file.

Posted by wojtek Sun, 31 May 2009 08:20:00 GMT




Comments

Leave a response

Leave a comment