using rails plugin