Precompiled block for rails