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 #850 | Main | Double Shot #849 »

What's New in Edge Rails #15

Week of March 25 - March 31, 2012

Much of the work in edge Rails at the moment is concerned with cleaning up the code and making the Ruby better for the future. But there are still some new features coming down the pike.

  • 3e67e45dc327631e085cc67aaa6522b44324364c tweaks resource routing to be a bit more self-evident in the controllers through letting you define a custom parameter name to replace :id.
  • 4882271 cleans up Rails.initialized? to be simpler and more reliable.
  • The recent change to remote forms and authenticity tokens that was part of Rails 3.2.3 is also in master as 128cfbdf.
  • Active Record gets some new finders in 13b3c77e:
    • Post.find_by name: 'Spartacus', rating: 4
    • Post.find_by "published_at < ?", 2.weeks.ago
    • Post.find_by! name: 'Spartacus'

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>