Grape will ignore a few things now

Another update to Grape: it will now ignore the doc, log, tmp and vendor/rails directories in its searches. No point crawling through the huge files that can build up in log or tmp, and doc is mostly auto-generated anyway. I have a habit of keeping large photoshop files and database backups in the doc folder too, and they can grind searches down to a halt. I figured vendor/rails was fine too as you’re probably not interested in its contents – you’re just interested in your app, and maybe the plugins.

If you’ve enjoyed this article, you might enjoy my recently published book JavaScript Testing Recipes. It’s full of simple techniques for writing modular, maintainable JavaScript apps in the browser and on the server.