Skip to content

@blazetrails/arel ​

SQL AST builder and query generation, mirroring Ruby's Arel

MeasureValue
Rails counterpartactiverecord v8.0.5.2
API methods matched100% (1058 of 1058)
Rails tests matched100% (658 of 658)
Ruby files ported74
Ruby files unported0
Measured atfe89b44726

Gaps by file ​

No gaps recorded for this package.

Missing methods ​

None recorded for this package.

Unported Ruby files ​

Every compared Ruby file has a TypeScript file.

Deviation receipts ​

JSDoc receipt tags in the package's source, by the receipt each carries.

TagPERMANENTCONVERGEABLEnone
@missingRailsName200
@inventedArm100
@internal0036

Permanently skipped tests ​

None.

Ratified deviations ​

Each rule below is ratified in the repository's CLAUDE.md files. The first paragraph is quoted; the link opens the full section at this build's commit.

Call-time constant resolution (arel) ​

arel/lib/namespaces.ts holds the Arel / Arel::Attributes / Arel::Collectors / Arel::Nodes / Arel::Visitors namespace objects. All but Collectors are extended with ActiveSupport::Autoload (RFC 0151): Rails requires the collectors (arel.rb:19, collectors/sql_string.rb:3) and nothing reads one through the namespace at call time, so it carries no autoload. Collectors, Nodes and Visitors are also the public Arel.Collectors / Arel.Nodes / Arel.Visitors exports, and a type-only declare namespace of the same name carries the type side.

packages/arel/CLAUDE.md →

Source ​

packages/arel on GitHub →