#717 open
Betelgeuse

form tag should error if it can't find an action

Reported by Betelgeuse | May 3rd, 2010 @ 04:37 PM | in Hobo 1.3 (Rails 3)

Scenario:

  • You play with auto_actions and accidentally leave :edit in the result without :update
  • You browse to the edit page and don't see a form
  • A lot frustration figuring out why this happens

Naturally you start your journey in permissions and such. Only after pulling my hair for a while and hitting the form tag in rapid_forms.dryml with debugger did I realize that the form tag produces nothing if it can't find where to post to. If you are calling the form tag you expect something to be there or it to error out. I suggest we change Hobo so that it throws an Exception telling it couldn't find an action instead of producing nothing.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

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

Tags

Pages