Allow the rails environment to be specified as an attribute