I ended up solving my problem, but I don't understand it.   On the hobo 
generated index page, the form tag is called with:

        <form with="&this || User.new" without-cancel>

This works fine in development, but gives an error when deployed to heroku.   I 
changed it to:

        <form with="&User.new" without-cancel>

and it worked fine.  Any ideas why the first fails?  The line is inside  <% if 
User.count == 0 %>, so i don't understand why it says "&this || User.new" 
anyway.   What is  "this" supposed to be when the front controller supplies it? 



Mark

 






On Jun 1, 2011, at 10:03 AM, Tiago Franco wrote:

> Hi Mark,
> 
> Is it possible to take a look at: app/views/taglibs/auto/rapid/forms.dryml ?
> 
> TF
> On Jun 1, 2011, at 2:27 PM, Mark Sobkowicz wrote:
> 
>> app/views/taglibs/auto/rapid/forms.dryml:18:in `form__for_user'
> 
> -- 
> 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.
> 

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