@blazetrails/arel
SQL AST builder and query generation, mirroring Ruby's Arel
| Measure | Value |
|---|---|
| Rails counterpart | activerecord v8.0.5.2 |
| API methods matched | 100% (1058 of 1058) |
| Rails tests matched | 100% (658 of 658) |
| Ruby files ported | 74 |
| Ruby files unported | 0 |
| Measured at | fe89b44726 |
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.
| Tag | PERMANENT | CONVERGEABLE | none |
|---|---|---|---|
@missingRailsName | 2 | 0 | 0 |
@inventedArm | 1 | 0 | 0 |
@internal | 0 | 0 | 36 |
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.