Persisting the template name for deployments

Likewise, if you provided a name with special characters, we might sanitize that data.  Allowing or not allowing certain characters is domain logic.  Returning a default value in place of a nil value is also domain logic.  ActiveRecord, by definition, "encapsulates the database access, and adds domain logic on that data."