bugfix connection to DDI on Rails