The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
AlterEgo - State Pattern for Objects
AlterEgo is a Ruby implementation of the State pattern as described by the Gang of Four. It differs from other Ruby state machine libraries in that it focuses on providing polymorphic behavior based on object state. In effect, it makes it easy to give an object different “personalities” depending on the state it is in.
Merb open source book
Even though Merb already has 4 books being written (2 already available in beta), the Merb core team announced they started working on an open source book with the help of the community. What’s also interesting is that even though the work on the book just started, translation is done in parallel allowing non-English speakers to access translated content without having to wait until the final version is available and then translated. Feel like helping? Checkout the book repo at GitHub.
Engine Yard, RailsKits and New Relic Sponsor AAC 2009
Rails For All is happy to announce that Engine Yard, Rails Kits and New Relic have signed on to AAC 2009 as sponsors. A big thanks goes out to them all for helping us make this year’s conference a success.
Getting the Merb on Linode
Grant Michaels has put together a walkthrough of installing Merb - running on a JRuby stack - on a Linode VPS. It’ll work for Linux generally, however, and has even be useful to me on OS X. It’s a bit of a mish-mash, but you’ll probably find something useful in here.
Rails Envy Podcast #57
Rails Envy Podcast #57 was just posted, bringing you the latest Ruby news in entertaining 20 minute audio package. Feed your brain while you drive your car, workout in the gym, or while you code.
Ruby-Processing goes 1.0
Hold on to your hats, ladies and gentlemen. Ruby-Processing has gone 1.0 with the latest JRuby and the newly-released Processing 1.0.1. Most sketches are seeing dramatic speedups, thanks to all the hard work that the JRuby guys and the Processing team have put in. As always, you can grab it at
Ruby Advent Calendar 2008
An article a day for the holiday season: Ruby advent calendar 2008.
Merb ♡ Rails
This is not a joke, Matt Aimonetti, Merb core team member admits it: Merb ♡ Rails. I guess the Ruby community won’t miss the drama, but let’s hope it won’t turn into a mushy soap opera.
Generate Rails Apps from Templates
Forget about bort et al - generate your Rails app from a template!
Zero-Downtime Restarts with HAProxy
Forget the maintenance page, HAProxy allows you to perform zero-downtime releases on the fly - a how-to for configuring the release procedure.
RubyLearning chats with Ezra Zygmuntowicz
Ezra Zygmuntowicz, in this interview talks to the RubyLearning participants on the path to Ruby Mastery.
Lockdown 0.6.2
Lockdown is a authentication/authorization system for RubyOnRails (ver 2.x) - Release Notes and Wiki
Installing RMagick on OS X Leopard without MacPorts or Fink
Had quite a time trying to get ImageMagick and RMagick to cooperate on my MacBook Pro after having several failed installs via MacPorts. Found this post which describes how to get everything going sans any kind of package manager. Substitute new versions of everything in and we’re set. :) Installing RMagick on Leopard (without MacPorts or Fink)
NTLM Windows domain authentication for Rails application
Do you want to implement automatic log-in to your Rails application using Windows domain authentication? Then check out this tutorial on how to implement NTLM authentication support for Rails application.
Phusion Passenger 2.0.4 released
See the Phusion blog for details. This is the version that includes support for global queuing.
Rails TakeFive Chat with Adam Keys and Glenn Vanderburg
FiveRuns has posted the latest Rails TakeFive interview, a Campfire chat featuring Adam Keys and Glenn Vanderburg.
Fukuoka Ruby Award
The Fukuoka prefecture conducts Fukuoka Ruby Award. The winner will get 1,000,000 JPY, which is roughly 10,000 USD. It covers any software and activity mainly held this year somewhat related Ruby. We are waiting for active submissions. If you have any question contact entry@ruby-award.jp.
Mack Framework 0.8.2 Released
Mack 0.8.2 contains bundled gems, DataMapper 0.9.7 support, ActiveRecord 2.2.2 support, and a pretty awesome implementation of deferred? actions.
How to query Delicious to retrieve informations about a given url
In case that’s of any use to you, here’s how you can query Delicious if you want to retrieve informations about a specific url.
Ruby Advent Calendar for 2008
I thought of running a Ruby advent calendar for this year. I would love to have your contributions. Please contact me if you are interested..
Japanese translation of "Life On The Edge With Merb, DataMapper & RSpec"
I translated a book “Life On The Edge With Merb, DataMapper & RSpec” into Japanese. This book is for beginners of Merb, DataMapper, and RSpec. Check it out if you are Japanese Merb beginner.
Rails Tip: Raise Mass-Assignment Errors in Tests
Since I’ve started using attr_accessible for security reasons, I’ve been bitten a few times while in development. The problem is that attempts to mass-assign protected attributes fail silently, save for a note in the debug log. Here’s a quick tip that explains how to raise these failed assignments as exceptions when testing your application.
Adventures in Rails
An account of my company’s adventures in Rails.
Ramaze by Example -- Parts 9 - 11
The final three parts and conclusion have been posted for a blog post series which introduces the basics of web development using Ramaze, a framework that lets you create web applications in Ruby with a minimum of code. The tutorial walks through the creation of a small but functional app from start to finish, describing many Ramaze features along the way. The latest posts cover layouts, validation and error handling, and the conclusion provides links for further learning.