Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Possible minor bug in action_view/helpers/form_helper

#5407

require 'action_view/helpers/form_helper' gives an error, but require 'action_view/helpers' doesn't.

Although changing the path fixed the error in my example I was asked to file a ticket in the #rails-contrib channel: "as far as it failing as it is.. you might be onto a small bug. I would post a message to lighthouse just to see what someone else thinks."

code, trace and error: http://pastie.org/1101615

If this bug report is erroneous just close it.

Reported by Alexander S. · August 19th, 2010 @ 08:36 AM

State: invalid
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. José Valim
    José Valim
    • State changed from new to invalid
    • Importance changed from to Low

    All files inside "action_view/helpers/" expects "action_view/helpers.rb" to be loaded before hand in order to work properly. In the same way all files inside "active_model/" expects "action_model.rb" to be loaded before!

    That said, just require "action_view/helpers" and go crazy! :)

    August 20th, 2010 @ 07:28 PM