A Fresh Cup is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the universe of software. I'm a full-time Rails developer and contributor, available for long- or short-term consulting, with solid experience in working as part of a distributed team. If you'd like to hire me, drop me a line. I'm also the author of Rails Rescue Handbook and Rails Freelancing Handbook.

Navigation
« Double Shot #885 | Main | Double Shot #884 »
Monday
May212012

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 to data-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 as DISTINCT 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.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>