rails/rails — pull request #3287 by sgerrand (2011-10-11 07:52:30+00:00)
Title: Ensure that the directory 'vendor/assets/javascripts' is created by app_generator

The directory 'vendor/assets/javascripts' is referenced in `railties/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt`, but isn't actually created as part of the generator suites.

```javascript
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
```

I've added a method to the AppGenerator class and a relevant test to ensure this directory is created.