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

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