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 #875 | Main | Double Shot #874 »

What's New in Edge Rails #19

Week of April 30 - May 6, 2012

Lots of code tinkering this week, but no huge new features. Here are a few highlights.

  • 5c1109a6 adds a -i option to the rails generator to skip building the index.html file that you always delete anyhow.
  • 16e7f2f tweaks the Inflector code so that 'police' no longer singularizes to 'polouse'.
  • ActiveRecord::Base#ids shows up in 93076168 - it's like pluck specifically for the primary key of the main table.
  • 07e5301e forces the first finder to default to primary key order across all database engines. 489166e1 does the same for last. If you want the old behavior of first you can use take(introduced in 1379375f).

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>