I do what Hedley does except I reference the lib files in key places that use the libs. This gives me the advantage of using much of my code in scripts that do not run in merb.
~Jon On Jan 10, 11:06 am, Hedley Robertson <[email protected]> wrote: > >I am wondering where, idiomatically, I should put application-specific > >library code in my Merb application? > > I usually throw them in lib, then add this to config/init.rb > > Merb.push_path(:lib, Merb.root / :lib, '**/*.rb')
-- You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en.
