class ActionDispatch::Routing::PolymorphicRoutes::HelperMethodBuilder
def handle_model_call(target, record)
Experimental RBS support (using type sampling data from the type_fusion
project).
def handle_model_call: (#<Class:0x0000000114766f50> target, Account record) -> String
This signature was generated using 2 samples from 1 application.
def handle_model_call(target, record) if mapping = polymorphic_mapping(target, record) mapping.call(target, [record], suffix == "path") else method, args = handle_model(record) target.public_send(method, *args) end end