If you don't add content to the Javascript file, usually we delete it instead of committing it empty. This would be true of registrations and static_pages. We also apply this to css, helpers, and tests. Rails generate will create these but sometimes they aren't needed.