I ran into the same problem. It looks like the Hobo DRYML tag takes
over the standard Rails form helpers. I ended up just using the DRYML
form tag, as it comes with a bunch of implicit context automagic fun.
It would be nice to be able to use the standard Rails form helpers
though. Especially when converting an existing app to Hobo.

On Dec 17, 6:04 am, stevo84 <[email protected]> wrote:
> As in subject. When trying to use on 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: <column-mc:>
> 4:
> 5: <% form_for :user, :url => "/test/test" do |f| %>
> 6: <%= f.error_messages %>
> 7: <p>Please enter new password and confirmation.</p>
> 8: <fieldset style="width: 400px; margin-bottom: 25px;">
>
> 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'
> ...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to