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 #787 | Main | Double Shot #786 »
Monday
Jan022012

What's New in Edge Rails #2

A lot of the activity over the past week went for removing Ruby 1.8.x support code from the Rails codebase. I'm not going to list out the dozens of commits from a bunch of contributors; suffice it to say that Rails, like many people I know, went on a sudden post-holiday diet.

Week of 12/25-31/2011

  • Rails uses Rack 1.4.0 as of 0d01e09c6c78c2276433e69671af5c211e243d50. You should too - or else upgrade your older version of Rack to the latest point release to fix a security issue.
  • With the extraction of ActiveRecord::Model into a module, there's a need to include configuration on those models. This is supplied in 93c1f11c0a5097a5431819a1551a02a869a16a38 as an ActiveRecord::Configuration module which provides a config_attribute macro - but this is not considered a public API, so use at your own risk.
  • We're moving towards explicitly declaring which tables to eager load with an eager_load predicate, rather than trying to deduce them from other parts of an Active Record relation. c99d507fccca2e9e4d12e49b4387e007c5481ae9 has a chunk of work on this; Issue 950 is tracking overall progress.
  • 8a130edb0f7b3aacf74d080d3da3b2d871f650d6 adds a second parameter, flush, to content_for. If this is set to true then the supplied block replaces any existing block rather than concatenating to it.

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>