Sorry there's really no way to go back. So far everyone has found it a big improvement over the old way of doing things, where it was very difficult to work out how to customise some extremely over-complicated tags like show-page.
I agree that the extra step in deployment and the overhead in dev mode are down-sides, but personally I've found it a price well worth paying. Those problems with inconsistency in the generated code have been fixed. I've found that generating the taglibs as part of the deploy process to be very stable. Adding that call to +run+ should do the trick, and you can start gitignoring the generated files. Works for me : ) Tom On 13 Aug 2009, at 04:56, Scott Bronson wrote: > Unfortunately I have to deploy with Java-centric scripts that I > don't have much control over (lame sysadmins, grrr...) So, rake is > probably out. > > I did discover that the tags can be autogenerated every time by > putting this at the end of environment.rb: > > Hobo::Dryml::DrymlGenerator.run > > That should be pretty close to what you suggest. > > But, doesn't writing to the production deploy dir feel a little > messy? How can I be sure my app servers are running exactly the > same code? The generators in 0.8.5 were pretty unstable, sometimes > putting models in the aside, sometimes changing the order of fields > (not sure if this has been fixed in 0.8.8, I'm just upgrading today). > > Ultimately, I'd prefer to just check all my code into git and not > worry about it! Even the autogenerated stuff. > > - Scott > > > On Wed, Aug 12, 2009 at 8:22 PM, Matt Jones <[email protected]> wrote: > > Not sure about turning them off - Tom may be able to answer that. > > For the git noise, however, I'd highly recommend adding the app/views/ > taglibs/auto directory to .gitignore. I do that, then run "rake > hobo:generate_taglibs" as a post-symlink deploy task in Capistrano, > and it works great. > > --Matt Jones > > On Aug 12, 2009, at 11:10 PM, Scott Bronson wrote: > > > Is there a way to turn off the auto taglibs and go back to the old > > way of doing things? > > > > I just find the old way cleaner, faster in dev mode, and generates > > less git noise. I miss it! > > > > Thanks for any ideas. > > > > - Scott > > > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
