Hi Don,

This is a nice mystery. I'd like to reproduce this problem, but I'm
gonna need a bit of your help:

>From your email, I understood that you added this exact code to
application.dryml:


  <extend tag="form" for="Agent">
  </extend>

  <form for="Agent"/>

First you are extending the form for Agent and then you are calling it
immediately below. This does not make much sense for me :S. In
application.dryml you define or extend tags, you don't usually "call"
tags. Maybe I misunderstood what you meant and you are putting "<form
for="Agent"/> in another view.

Anyway, do you have any idea about when exactly it started failing?
Could yoy give me instructions for me to reproduce the issue in a simple
app?

Warm regards,
Ignacio

El 12/07/14 16:44, Donald Ziesig escribió:
> Hi All!
> 
> I have an app that was working fine a few days ago, but now it keeps
> giving me an error on all forms EXCEPT the Agent form.
> 
> The error is:
> 
> |undefined method `form__for_agent' for class `#<Class:0x007f7bb1653658>'|
> 
> 
> The form is present in the code and when I select the agent form url
> manually, it works fine. If I select any other form either via tabs or
> url it dies.
> 
> I have extended the Agent form in application.dryml (for multi-part). 
> When I remove the extension, the error goes away (but the form no-longer
> works correctly).  I returned a minimal extension to application.dryml
> as in:
> 
> <extend tag="form" for="Agent">
> </extend>
> 
> <form for="Agent"/>
> 
> Just this minimal code restores the error.
> 
> Is there a better place for the extension rather than application.dryml?
> 
> Any suggestions?
> 
> Thanks,
> 
> Don Ziesig
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Hobo Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/hobousers.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to