method

extract_namespace

rails latest stable - Class: ActionController::PolymorphicRoutes

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.2.1) is shown here.

extract_namespace(record_or_hash_or_array)
private

Remove the first symbols from the array and return the url prefix implied by those symbols.