Move Rails environment tag to input

The Rails environment variable isn't available when the filters are
written, so this is not the place to add it.  The tag will instead be
added (if available) to the file input(s) for the web application.