See the full issue archive.
Subscribe to Ruby Weekly here.
Issue 76 - January 12, 2012
Welcome! Ruby Weekly will be sporting an updated design next week with some new features like an upcoming events list and an easy way for you to submit links and tips. So if things look a little different, you've been warned :-)
The other news is that in this issue I'm publicly 'revealing' my newest e-mail newsletter for the first time. You'll find it just under the headlines. See you next week! - Peter.
RSpec 2.8 and rspec-rails 2.8.1 have been released and some users have been reporting significant performance improvements. Other tweaks include improved documentation, better tag and filtering options, random example execution, and 'rspec --init' for adding RSpec to an empty Ruby project.
Torquebox is a popular JBoss-powered application server for Ruby webapps that provides a smorgasbord of useful backend features. This beta of the 2.0 release boasts the latest versions of JRuby and JBoss and new support for WebSockets/STOMP.
Redcar is a programmers' text editor written in Ruby and this latest release has streamlined its installation and added Mac OS X Lion support.
Focusing on a chosen niche is great but as a progressive, always-learning software developer it pays to keep up to date with the big ideas, trends, and tooling developments in the profession as a whole. StatusCode wraps these ideas up into a once weekly e-mail digest, a bit like the e-mail you're reading now :-)
DataMapper is a popular Ruby ORM and an interesting alternative to ActiveRecord. In this post, Piotr Solnica explains what's happening with DataMapper 2.0 and how it aims to implement the Data Mapper pattern in full. The systems outlined in this post could resolve a lot of issues people have been having with ActiveRecord, it seems.
Jared Carroll picks up on a common thread being discussed in the Rails world lately: service layers. He explains what 'services' are, what types of service can exist, and tries to briefly explain his opinion on their usage within the context of Rails. I'm not entirely comfortable with his conclusion but it's a good introduction nonetheless.
An appealing explanation of an algorithm that can be used to 'intelligently' play Tic Tac Toe, complete with a simple Ruby implementation.
Eric Proctor wanted to refresh his setup for 2012 so sat down to install a Rails development stack from scratch on Ubuntu 11.10. He shares the process here in case you want to repeat it for yourself.
If you're like many Rails developers, you might frequently hit the Rails docs and guides via Google searches, but if you want access to these useful resources when offline, Aslam Najeebdeen has the answer.
Want to have your own in-house RubyGems server? It's easy and Michael Erasmus shows you how in this post.
Clemens Helm stumbles across a rudimentary floating point representation issue, but one that can trip you up nonetheless if you're not aware of it.
Steve Richert of Collective Idea wanted to punch through Capybara and be able to set cookies that would "Just Work" from anywhere in his Cucumber suite. Here, he shows you how he did it.
If you are tired of model ids in the URL, overriding to_param can only get you so far. The friendly_id plugin can help by making it easy to generate a URL slug and maintain a history. Ryan Bates shows us how in a mere 7 minutes.
Puma is a simple, fast, and highly concurrent HTTP 1.1 server for Ruby webapps. It can be used with any application that supports Rack and makes the audacious claim that it 'is considered the replacement for WEBrick and Mongrel.'
Confstruct optimistically bills itself as 'yet another configuration gem.' It's definable and configurable by hash, struct, or block and aims to provide the flexibility to do things your way, while keeping things simple and intuitive.
CoffeeScript was originally implemented in Ruby so it's interesting to see Charlie Somerville bring it full circle by reimplementing the current CoffeeScript compiler in pure Ruby.
rack_session_access makes it possible to change values within the application session of your Rack-backed app.
Unfortunately I don't speak German but it's great to see a wider variety of locations in the jobs. So if you're looking for a Rails job in Germany or know someome who is, check this out.
I can't help but continue to recommend Avdi Grimm's awesome 'Exceptional Ruby' e-book if you want to dig deep into the world of exceptions and error handling in Ruby. I enjoyed it a lot (and I'm not even making a bean on this recommendation :-))
Address: Office 30, Lincoln Way, Fairfield Enterprise Centre, Louth, Lincs, UK, LN11 9EJ