Ok the additional error had to do with *= require jquery-ui/redmond
In front.css. It was complaining it couldn't find the redmod file to include. I deleted it for now and all is good. Perhaps the 1.4 source files need to have the includes re-aranged? and perhaps the redmod file added or the include removed. Bob On Sunday, April 8, 2012 2:57:53 PM UTC-4, Bob Sleys wrote: > > Ok that makes sense. Apparently this has changed a bit since 1.3. The > app is auto generated using 1.4.pre. > > Here is the front_site.dryml > > <!-- Global taglib - these are the tags for your front site --> > > <include src="taglibs/auto/rapid/cards"/> > <include src="taglibs/auto/rapid/pages"/> > <include src="taglibs/auto/rapid/forms"/> > > <%# The default Hobo theme %> > <include gem='hobo_clean'/> > > And the application.dryml > > <!-- Global taglib - these tags are shared across all subsites --> > > <include src="rapid" gem="hobo"/> > <include gem='hobo_rapid'/> > <include gem='hobo_jquery'/> > <include gem='hobo_jquery_ui'/> > > <extend tag="form" for="Hour"> > <old-form merge> > <field-list: fields="date, hours_worked, work_code, project, comments"/> > </old-form> > </extend> > > So the question is what is the best way to fix this. I tried to move the > taglibs to the application.dryml and > include <include src="application"/> to front_site.dryl but I ended up with > other errors. > > Bob > > > On Sunday, April 8, 2012 12:57:20 PM UTC-4, Bryan Larsen wrote: >> >> 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 view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/v7D1qRw8uesJ. 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.
