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.
Manage Deeply Hierarchical Data
If you are interested in managing hierarchical data take a look at my new library cascading_classes. It makes it easy to manage properties on data trees containing hundreds of nodes spanning dozens of generations.
RubyPair: an app to help you find people to pair with locally and remotely
I just launched RubyPair. For now, it’s a searchable directly of individuals who would like to remote/in-person pair on things Ruby. I’m working to add more features to it. The project is OSS. You can learn more about it and contributing to it by checking out the profile for @rubypair on Twitter.
Maxixe - A simple, pure Ruby, statistical segmenter for any language
I just wrote a small post on a recent project of mine, a segmenter for Asian and other languages written in Ruby. Take a look at Maxixe!
Combustion: Elegant testing for Rails Engines
Over the last few weeks I’ve been building a Rails Engine - and have been hunting for a better way of testing it without including a full Rails app in the spec (or test) directory, with its own set of tests. Read more
Quickly run Sinatra apps using JRuby
A blog post that helps you get your Sinatra apps running using JRuby.
RDocodile, RDoc Beautification Project
In my earnest attempts to make RDocs more aesthetically pleasing and to work towards more practical documentation interfaces, I have transformed my previous RDazzle project into RDocodile, Ruby Beautification Project. Read more
An Introduction to MiniTest::Spec
MiniTest is in the Ruby 1.9 standard library and its MiniTest::Spec sub-library provides an elegant and quick way to do spec-style testing. I’ve written a brief introduction to MiniTest::Spec on Ruby Inside so you can quickly give it a try for yourself. (On Ruby 1.8, just do gem install minitest)
Ruby Object Model
The document at has been significantly updated.
Getting to Know ActiveSupport::Callbacks
I just wrote about getting to know ActiveSupport::Callbacks. You’ll learn to use callbacks in your own classes as well as how ActiveRecord life cycle callbacks are implemented using this module.
Setup HAProxy for development environment on Mac OSX for Rails app
Easy steps to setup HAProxy on development environment on Mac OSX to play with Rails app.
The Hitchhiker's Guide to Pakyow
Pakyow guickstart guide covering some of the main aspects of the framework. - The Hitchhiker’s Guide to Pakyow
Rubygems: too many connection resets
Trying to push a gem to Rubygems and you get “too many connection resets”!? Here is the fix for the problem.
A review of The RSpec Book
I just published a review of The RSpec Book.
Minimal compass integration for Rails 3.1
I just wrote this post Minimal compass integration for Rails 3.1
The main information about Procs, lambdas and closure that you must know.
We are all use blocks in our ruby programs, but what if we`d like to store somewhere or pass anonymous code to some method? Here is information about it.
Testing Your Code's Text
Write rake tasks that grep your application code for common problems. Read more
Example Apps for Rails 3.1
Examples (with walk-through tutorials) for Rails 3.1 using Devise (authentication), OmniAuth (authentication), RSpec, Cucumber (BDD), Mongoid (NoSQL datastore). Useful as starter apps or reference implementations. Read more
A Guide to Installing Rails 3.1
Detailed instructions on how to install Rails 3.1 with advice and troubleshooting tips: Read more
I ran bundle update.... looks like rails 3.1.0 is released!!!
I have not seen any posts online about this yet but it looks like we have a new Rails release. CONGRATS to everyone that contributed!!!
ActiveConfiguration: A Generic Settings Store for ActiveRecord Models
I just released ActiveConfiguration, a generic settings store for ActiveRecord models.
Fech: Ruby Parser for Presidential Campaign Filings
My colleagues and I at The New York Times just released Fech, a gem for parsing presidential campaign finance reports. Use it to access summary and itemized data from candidate filings. Works with Ruby 1.8.7 and 1.9.2.
linode w/ ubuntu + rbenv + lxc-ready kernel
I wrote a blog with some instructions and a stackscript for getting an Ubuntu 11.04 linode booted up with rbenv and swapping out the linode kernel for the stock Ubuntu one so the VM can support LXC containers
Defeault Attributes on ActiveRecord Associations
A quick tip on how you can easily define default attributes on ActiveRecord Associations.
AliasGenerator & FlickrSetTag - Jekyll Plugins
I’ve just released a couple of Jekyll plugins. Read more