What's New in Edge Rails #21
Week of May 14 - May 20, 2012
In addition to the code changes below, I want to mention the contributors to docrails, who are doing a great job of keeping the Guides up to date with the edge code. Check out their work at http://edgeguides.rubyonrails.org/.
-
683fc4db changes
:disable_with
todata-disable-with
in various tag helpers for consistency with other attributes handled by the unobtrusive JavaScript drivers. dd42e890 further tweaks this to use the:data => { :disable_with => ... }
form of the API in examples. - With 3f352d04
Model.pluck
supports SQL fragments (such asDISTINCT name
as well as attribute names. - You can now tell Rails to pass templates through undisturbed by using the .raw extension, as of 8bea6072.
- 446940c3 brings in helpers for the HTML5 time input tag.
- Check the changelog update in 103ce300 for details about the deprecation of most dynamic finder methods in Active Record, and how to rewrite them in your code. No rush on this because they won’t be gone until Rails 5.0, but it’s good to stay up to date.