Monday
May072012
What's New in Edge Rails #19
Monday, May 7, 2012 at 6:13AM 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
-ioption 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#idsshows up in 93076168 - it's likepluckspecifically for the primary key of the main table.- 07e5301e forces the
firstfinder to default to primary key order across all database engines. 489166e1 does the same forlast. If you want the old behavior offirstyou can usetake(introduced in 1379375f).

Reader Comments