I'm certainly using extend in my 1.4 apps. It appears that what's missing is not extend, but the origin form for="Hour". Two possibilities: 1) it's not getting generated into your forms.dryml or 2), your forms.dryml isn't getting included into your app. Do you have <include src="taglibs/auto/rapid/forms"/> in your application.dryml and/or your front_site.dryml? If it's only in application.dryml, does your front_site.dryml include <include src="application"/>
Bryan On Sat, Apr 7, 2012 at 7:40 PM, Bob Sleys <[email protected]> wrote: > Ok color me dumb but I've done this a lot on hobo 1.3 but now with a new app > using 1.4 from git when I add the following to application.dryml > > <extend tag="form" for="Hour"> > <old-form merge> > <field-list: fields="date, hours_worked, work_code, project, comments"/> > </old-form> > </extend> > > I get the following error > > NameError (undefined method `form__for_hour' for class > `#<Class:0x000000046025d0>'): > > I have a class named Hour and it's not the fields. I can remove everything > between the extend tags leaving a blank body and I still get the error. I > even copied the auto tag definition from rapid changing the def to extend > and it still didn't work. What dumb thing am I doing this time? > > Bob > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/hobousers/-/PqglC3VvLYwJ. > 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.
