Cannot use form_for/form_tag with rails 2.2.2 and hobo 0.8.5
Reported by stevo84 | December 17th, 2008 @ 03:30 PM
As in subject. When trying to use one of those helpers I receive:
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.<<
Extracted source (around line #5):
2:
3:
4:
5: <% form_for :user, :url => "/test/test" do |f| %>
6: <%= f.error_messages %>
7:
Please enter new password and confirmation.
8:
Trace:
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_view/
helpers/text_helper.rb:42:in concat'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_view/
helpers/form_helper.rb:252:in
form_for'
app/views/test/index.dryml:5:in render_page'
vendor/plugins/lbuilder/lib/dryml/template_environment.rb:259:in
new_context'
app/views/test/index.dryml:3:in render_page'
vendor/plugins/lbuilder/lib/dryml/template_environment.rb:515:in
call'
...
Comments and changes to this ticket
-
Tom Locke December 30th, 2008 @ 03:12 PM
- State changed from new to resolved
Thanks for reporting. Fixed in 380883b
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
- Nobody is watching this ticket.