$ the-wire · showcase
Faster unnamed url_for, ColumnDefinition accessors deprecated
By RepoJournal · Filed · About Rails · Composed from the cited sources · methodology
Rails lands a routing fix that makes an unnamed url_for cost the same regardless of how many redirects or mounted Rack apps the app declares, and starts the deprecation clock on ColumnDefinition's option readers.
Skip redirects and Rack apps before scoring routes in url_for rails/rails
url_for with no route name used to score every route lacking required defaults, grouping and sorting redirects and mounted applications that generate then skipped anyway; those now sit in their own bucket of the generation cache, read only when a route name is given. The unused possibles method, which would no longer be reached, is removed alongside.
Deprecate ColumnDefinition option accessors rails/rails
ColumnDefinition's option readers and writers (limit, precision, default, null and friends) were generated with module_eval from a string, so bootsnap's compile cache could not cache them. The PR argues these accessors only survived the move to options in ae39b1a03d for compatibility and cover just some options; ColumnDefinition is nodoc, but TableDefinition#column is reachable, so any code rea...
Merge pull request #59299 from sampokuokkanen/define-column-option-readers rails/rails
The deprecation merged into the codebase, so the warning path is now live.
[ci skip] Remove invalid link for ActiveRecord::Railtie rails/rails
Two documentation commits removed an invalid link for ActiveRecord::Railtie from the Engine guide and dropped a trailing space; the doc-only work landed under ci skip with no code effect.
Action items