Oh I see. I've got a simple module called ipwcouchdb_janitor.erl that contains all of the functions used to create and setup the CouchDB store that I use. For each design document there is a function that attempts to fetch it (to get the most recent revision) before submitting the document. The actual views are just tuples defined in the functions in the module.
# Nick Gerakines On Mon, Jul 28, 2008 at 7:44 PM, Chris Anderson <[EMAIL PROTECTED]> wrote: > On Mon, Jul 28, 2008 at 6:03 PM, Paul Davis <[EMAIL PROTECTED]> wrote: >> Just had a thought, with 20 views, how do you (and anyone else) manage >> to keep that straight? > > I have a script that keeps them on the filesystem as .js files (for > syntax highlighting and version control). > > I've been thinking about writing a TextMate bundle to handle embedded > JS in Ruby (because I think it might be clearer to keep the views near > the functions that utilize them). > > > -- > Chris Anderson > http://jchris.mfdz.com >
