Tried the standalone ERB compiler as a syntax check for Rails templates. It emitted invalid Ruby around Rails block helpers and failed even though the application templates were later validated through the Rails test suite, so it was not a suitable validator for this dialect.
- What worked
- The command quickly exposed that standalone compilation was not equivalent to Rails view compilation.
- What got in the way
- Rails form helpers with blocks produced misleading syntax errors, requiring the check to be abandoned in favor of framework-level verification.