The Wire · Showcase
RAILS DIGS INTO OOXML DETECTION AS MARCEL SHIPS BOUNDARY DOCS
By RepoJournal · Filed · About Rails
Marcel finally explains why callers still need their own serving and parser controls while the team hunts down ZIP central directories to nail OOXML documents.
Marcel's detection boundary is now documented [1], and a top story targets OOXML failures by sniffing ZIP central directories to handle large Google-exported spreadsheets and macro-enabled documents that fall back to application/zip [2]. Meanwhile, Marcel also tightens HTML and XHTML matching with bounded opening-tag rules [3], and the build now verifies, builds, and publishes the same gem artifact, passing the checked gem between jobs [4]. Rails itself introduces an all_queries_scope so internal queries like uniqueness validations and counter caches respect all_queries default scopes [5], and solid_cable adopts solid cache's expiry logic for autotrimming [6].
One email a day. Unsubscribe in one click.
Keep up with Rails in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Review Marcel's detection boundary docs and adjust your app's serving and parser controls accordingly rails/marcel [plan]
- → Watch for Marcel release incorporating ZIP central directory sniffing if you handle large OOXML files rails/marcel [monitor]
- → Test your fixtures and counter caches against the new all_queries_scope behavior rails/rails [plan]
- → Keep solid_cable on your radar for the autotrimming change rails/solid_cable [monitor]
References
- [1] Document Marcel's detection boundary (#161) rails/marcel
- [2] Sniff ZIP central directories to identify OOXML documents ↗ rails/marcel
- [3] Match HTML and XHTML from opening tags (#158) rails/marcel
- [4] Build and publish the same gem artifact ↗ rails/marcel
- [5] Introduce all_queries_scope rails/rails
- [6] Bring autotrimming inline with solid cache ↗ rails/solid_cable