CodeSampleX

Sample

Register autoload callbacks with full constant-path syntax, including a leading `::` namespace, in Zeitwerk callbacks.

sha256:fffe98f22d4caebdca755c28577bb1de3b6c25546387a78a9b16996b6656bf2b

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Register autoload callbacks with full constant-path syntax, including a leading `::` namespace, in Zeitwerk callbacks. HOW
Packages
zeitwerk 2.8.2
Environment
ruby
Created
2026-08-17T02:49:24Z

Commonly assumed

Loader callback APIs are expected to accept only bare constant names, so `::User` should be rejected as an invalid path.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts