Stories

New Relic recently released their 'state of the stack' report on Ruby deployments. It gives great information about versions of Ruby in use, Thin, passenger, mongrel usage, gem popularity, and rails versions. And if you think that is useful information, you should see what it can tell you about your own application! Install it today by going to NewRelic.

Presenter patterns are a hot topic in the rails community lately… a few weeks ago we mentioned Draper, and earlier this week Ryan Wilcox released delegate_presenter, an extraction from a couple of projects he's been working on. It aims to be the simplest presenter that could possibly work. it simply wraps your model and delegates calls to it, but ask lets you create methods that adapt your model to be presented properly in a view. everything hooks up correctly just by following some naming conventions.

This release brings a few cleanup items - such as the ability to modify attributes set with 'traits', some small syntax improvements, and the ability to declare children factories before their parents.

52 weeks of ux is a blog by Joshua porter and joshua brewer which presents itself as 52 weeks of lessons and discourse for user experience and interaction designers. its a must read if you do any front end web development.

It was a big improvement when rails included a default way of loading seed data into your database, but its still got a problem; the convention is just one seeds.rb file, that tends to get littered with all kinds of content.
Enter this short little code snippet that makes the seeds.rb file load all the files from a seeds directory... so now you can have a directory of seeds that could match the directory of migrations, or your directory of models.

Jasmine is behavior-driven-testing for javascript. You write stuff that looks a little bit like javascript-infected rspec, and can then run it from the command line, or by loading a web page to see all the green bars. Half the battle for this kind of thing is overcoming the intertia of getting started; this video shows you how easy it is to set up with Rails.

Previous Episodes

Tales of wonder from today's Ruby5: Github launches a space station and then updates the Code tab. Trade in your rubies for one million yen. Some dancing lessons. Knock back some CORS and earn your stripes!

Here are the remaining interviews from Rubyconf, including Chris Nelson, Steve Klabnik, Xavier Shay, Johnathon Wright, Eric Hodel, and Johnny Tommy telling a story about New Orleans and a guy with a gun.