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 #870 | Main | Double Shot #869 »

What's New in Edge Rails #18

Week of April 15 - April 29, 2012

Well, two weeks actually, but who's counting?

  • In 41af36f5 Rails moves from the unmaintained ruby-debug19 gem to the newer debugger fork - something you ought to do in any old projects as well.
  • rake notes gets updated in 55ceced1 to also look at your css, scss, and js files.
  • Rails routing gets a bit safer with 56cdc81c. This commit changes the router DSL to require an HTTP verb (or the override :via => :all) when using the match method.
  • 6acebb38b adds support for including multiple routes files from config/routes.
  • adff4a70 adds Rails.queue as a built-in queuing API that can (in the future) be hooked into by more advanced queues such as Sidekiq or Resque. This lead to a moderately large flame war in the commit comments but it looks like it's here to stay. An important follow-on commit is cd50b604, which allows applications to have multiple distinct queues.
  • A batch of commits merged in 7d1a42a0 upgrade to the newest SQLite adapter. This is another fix you can make in your existing projects as well (just by swapping gems).
  • 76cd1ca0 lets you turn off Rails deprecation warnings entirely with ActiveSupport::Deprecations.behavior = :silence.
  • fcc534ed changes the behavior of validation errors on confirmation to render on the confirmation attribute instead of the original attribute.
  • The old button_to_function and link_to_function helpers are gone as of 3acdd652.

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>