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 software developer: most of my time in recent years has been spent writing Rails, though I've dabbled in many other things and like most people who have been writing code for decades I can learn new stuff as needed.

Currently I'm unemployed and starting to look around for my next opportunity as a senior manager, team lead, or lead developer. Drop me a comment if you're interested or email MikeG1 [at] larkfarm.com.

« Double Shot #885 | Main | Double Shot #884 »

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):
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>