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 #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>