This project is archived and is in readonly mode.

#5407 ✓invalid
Alexander S.

Possible minor bug in action_view/helpers/form_helper

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

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.

Comments and changes to this ticket

  • José Valim

    José Valim August 20th, 2010 @ 07:28 PM

    • 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! :)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Tags

Pages