Double Shot #871

Sometimes it feels like life is just rushing by.

Double Shot #870

13 days in a row of Scouting events. I must be nuts.

  • Secure Shell - Implemented as a Chrome extension. Just in case you have Chrome installed on a platform without a terminal emulator, I guess.
  • Doppio - And while we're on the topic of things that are more marvelous than useful, here's an implementation of the Java VM on CoffeeScript.
  • HTTP Monitor - The Firebug and Firefox dev-tools teams are working together on components that both can use. I was wondering about that.
  • Why Postgres - A high-level overview of the things that make Postgres a good choice.
  • Integrating Devise with Backbone.js - For those of you out on the cutting edge.
  • Focused Controller: Bringing Real OOP to Rails Controllers - An experiment from one of the Rails core contributors that fills me with trepidation.
  • How to Securely Bootstrap JSON in a Rails View - Escaping, user-supplied content, and XSS concerns when you're consuming JSON directly.
  • Amon - Server monitoring, logging, and error tracking all in one package.

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.

Double Shot #869

Cleaning out the browser tabs after another busy weekend.

Double Shot #868

About to push another week into the dustbin of history.

Double Shot #866

I seem to have misplaced a day this week. That's not good.

Double Shot #865

With a lot of folks off at RailsConf, this will probably be a quiet week on the interwebs.

Double Shot #864

Slowly getting back to the tech world again.

  • It's Definitely a Bubble - Dave Winer comments on the packaging of developers, not unlike the packaging of mortgages.
  • hamlbars - Generate Handlebars templates with HAML, just in case there's not enough abstraction in your abstraction.
  • mail_view - Plumbing to test Action Mailer templates in a browser.

Double Shot #863

First word out of NPR when I turned it on this morning was "Windows." Another sign of the apocalypse.

Double Shot #862

No Scouting commitments today. That's becoming a rarity.

Double Shot #861

It's easier to imagine no countries than no email.

Double Shot #860

Not really too happy with the aging process this morning.

What's New in Edge Rails #17

Week of April 8 - April14, 2012

Lots of tidying up in the Rails source this week. It's amazing how much even a mature codebase can be improved when lots of people are nibbling away at it.

  • 1a20683f adds enough relations to NullRelation to make it chainable with database methods, so you can use Post.none anywhere you could use Post.all.
  • The FormBuilder class gets an index method in 47cbfbb9. Here's the sample usage from the commit:

<%= form_for @person do |person_form| %>
  ...
  <%= person_form.fields_for :projects do |project_fields| %>
    Project #<%= project_fields.index %>
    ...
  <% end %>
  ...
<% end %>
  • 1bac04e85 optimizes the performance of #delegate. It's a mildly-breaking change, though, in that you can no longer delegate to private methods.
  • With ca0af822, you get an automatic index when using references or belongs_to in migrations. That's nice; it would have saved me typing add_index about eleventy-seven times by now.

Double Shot #859

Another busy week looms. Let's start with a few links.

Double Shot #857

Today: time to help set up the gun ranges for the spring Scouting season.

Double Shot #856

If the price of civilization is paperwork, it's not clear we're getting a good deal.

Double Shot #855

Running late today. Story of my life.

  • twitter/mysql - Twitter has released their MySQL fork. I'll be amused to watch all the people who rush to use it without considering whether they have any of the problems it's designed to overcome.
  • Harness - Connect notifications from ActiveSupport::Notifications to external services, currently supporting Librato.
  • On Railcar: an isolated Rails environment - Status report on Jeremy McAnally's efforts to build an easy Rails installer. It's looking good and ready for contributions.
  • Mosh - A more "robust and responsive" replacement for SSH. Looks interesting.

What's New in Edge Rails #16

Week of April 1 - April 7, 2012

Although there were quite a few commits this past week, nearly all of them were to the docrails project, cleaning up the Guides and related documentation. On the new features front, Rails appears to have mostly taken a week off.

  • 99c08c70 cleans up some of the internals of url_for for faster operation - one of the hundreds of little performance and style tweaks going into the next version.

subscribe via RSS