Jon (aka Juan el bandido) here saying "Howdy" from the Navarro desert near Pamplona 🇪🇸 to bring you outlaws a back-slappin' sagebrush issue of This Wild Week in Rails 🌵.
We'll be covering a selection of the past 2 weeks' commits. That's a dadgummit lotta ground to cover, so pack a saddlebag o' water, watch out fer rattlesnakes, and dontcha hesitate to click through to the pull requests for more info!
Let rip some proper hootin' & hollerin' fer these 38 heroic wranglers who contributed to Rails this week, including 8 first-timers! Check out the current issues and the contributing guide if ye'd like to join 'em!
These two release candidates hit the trail this week. The final release of Rails 4.1.16 should be on its way shortly if no regressions are found. It will probably be the last release of Rails 4.1, so please take some time soon to upgrade your application to Rails 4.2 or Rails 5.
Building on an implementation proposal by DHH, new syntactical sugar has been introduced for tag helpers that supports HTML5 markup by default and avoids positional parameters. See the PR for details and code examples as well as #25289 for the groundwork and discussion.
Many vital documentation contributions were made these past 2 weeks, including completion of the Rails Testing Guide (yeehaw!) and updates for Rails 5.
Scheduled for Rails 5.1, this commit aims to clean up noisy stack traces and log only the traces relevant to the developer. The discussion in the PR and in #25343 is worth reading.
This commit brings the boolean attributes for the Action View tag helpers up to date with the current w3.org spec, while dropping `autobuffer` in favor of `preload` and removing `pubdate`.
Nested time travel calls in tests can lead to confusion in time stubbing. To discourage this practice, Rails now raises on nested `travel` and `travel_to` time helper calls.
Time specified in ISO 8601 format without Z should be parsed as local time, yet until now it was treated as UTC. This commit fixes the problem by parsing time using the timezone specified in the application config. Additionally, YYYY-MM-DD format is now parsed as Date, not DateTime as it was until now.
Ported to Rails 5-0-stable since this is a potential breaking change.
This fix adds the option to the end of the URL path rather than the query params. The PR discussion contains an example of checking impact on performance and working around it. Backported to 5-0-stable.
Developers and gems can now use `rake notes` to extract notes from other directories (like `/spec`) by registering them with the SourceAnnotationExtractor.
Wrappin' Up, Ye Saddle Bums
Luddy Mussy, ah'm all sewn up! That's all for This Wild Week in Rails 🌵. Der wuz more improvements than we had room to cover here, so doncher hesitate to check 'em out!