add rails env. to request
use yml for configuration