#144 open
rajasaurus

Issue with form_for in latest merb_helpers

Reported by rajasaurus | August 16th, 2008 @ 01:18 AM | in 1.0

merb_helpers breaks form_for in commit 3c57a1795a00ac28f50037dcaa9dc24ddf54813b It works in commit e258e56ddc55cf1491b84c2476449e6a5e6bf3ed

The error is below:


~ undefined method `new' for nil:NilClass - (NoMethodError)
/opt/local/lib/ruby/gems/1.8/gems/merb_helpers-0.9.5/lib/merb_helpers/form/helpers.rb:41:in `_singleton_form_context'
/opt/local/lib/ruby/gems/1.8/gems/merb_helpers-0.9.5/lib/merb_helpers/form/helpers.rb:49:in `current_form_context'
/opt/local/lib/ruby/gems/1.8/gems/merb_helpers-0.9.5/lib/merb_helpers/form/helpers.rb:58:in `_new_form_context'
/opt/local/lib/ruby/gems/1.8/gems/merb_helpers-0.9.5/lib/merb_helpers/form/helpers.rb:63:in `with_form_context'
/opt/local/lib/ruby/gems/1.8/gems/merb_helpers-0.9.5/lib/merb_helpers/form/helpers.rb:101:in `form_for'
/Users/raja/Sites/junto/app/views/users/new.html.haml:4:in.....

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

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

Shared Ticket Bins