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.

As of October 2016, I'm not actively looking for my next job, but I'm still happy to chat about potential opportunities. I'm not able to relocate, so unless you're in the Evansville area, I'd need a completely remote gig. I have lots of experience working remote. Prefer full-time but I wouldn't be averse to an interesting contact gig. Drop me a comment if you've got something or email MikeG1 [at] larkfarm.com.

Navigation
« Double Shot #926 | Main | Double Shot #925 »
Monday
Jul302012

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 :)

https://github.com/rails/rails/commit/4ac81de52fbcdabc68f6d1fa8a5ee9ff7fff7df1

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