#347 ✓resolved
stevo84

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:inform_for'
app/views/test/index.dryml:5:in render_page' vendor/plugins/lbuilder/lib/dryml/template_environment.rb:259:innew_context' app/views/test/index.dryml:3:in render_page' vendor/plugins/lbuilder/lib/dryml/template_environment.rb:515:incall' ...

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 ยป

People watching this ticket

Tags

Pages