@@ -26,7 +26,7 @@ func Open(driver string, args ...interface{}) (*DB, error) {
if driver == "" {
return nil, errors.New("Invalid driver name.")
}
- d, err := gorm.Open(driver, args)
+ d, err := gorm.Open(driver, args...)
if err != nil {
return nil, err