On Thu, Jan 8, 2009 at 4:05 PM, Paul Howson <[email protected]> wrote:
> > Normally Rails expects a view template for each controller/view > combination, and complains if it's missing. > > With a new Hobo app, most of the view template folders are empty. > > Instead Hobo generates tag definitions to suit the defined hobo models > and puts these in the folder taglibs/auto/rapid. > > How are these auto-generated tags called in the absence of a view > template? > application.dryml includes them just as it would any other taglib: <include src="taglibs/auto/rapid/cards"/> <include src="taglibs/auto/rapid/pages"/> <include src="taglibs/auto/rapid/forms"/> And what triggers the generation or re-generation of these auto- > generated tags? > They seem to be regenerated before each request in dev and once when your app starts up in production. I haven't actually read the code so I might be wrong here. I guess this contributes to how slow the dev environment is becoming... I really do like not having to bounce my app all the time but sometimes it takes 3-4 seconds to handle a request! Makes it fairly painful to navigate around my app. I guess this is good -- encourages me to write more tests. :) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
