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 employed as the Vice President of Engineering at Faria Education Group. If you're interested in working with me, we're often hiring smart developers. Drop me a comment if you're interested or email MikeG1 [at] larkfarm.com.

« Double Shot #926 | Main | Double Shot #925 »

What's New in Edge Rails #31

Week of July 23 - July 29, 2012

Biggest change this week is probably the introduction of ActionController::Live, but there are lots of little advances as well.

  • 449039a8 swaps out ActionDispatch::Head in favor of Rack::Head.
  • Don't get too used to update_column, which is the 3.2.x replacement for update_attribute. In 87ffc366 it gets replaced by update_columns.
  • With 6a81ccd6 ActiveRecord::Base.all returns a Relation instead of an Array. Finally.
  • 99ea1a87 changes the behavior of Object#try to return nil if the receiving object doesn't implement the method. You can use Object#try! if you want the old behavior.
  • ActionController::Live allows any method to stream data to the client live. 0899be57 has the changelog entry.

Reader Comments (1)

You were right before. But I think this made it right again :)


July 30, 2012 | Unregistered CommenterAditya Sanghi

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>