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.
Try Redwood, a new desktop app written in MacRuby
Redwood is a “Spotlight for your web apps” – it searches Basecamp, GMail, and GDocs from your Mac desktop. In a future release, you will be able to write plugins in Ruby to search more services. Redwood is written in MacRuby 0.9 and Cocoa. This is an early release, and we’d love your feedback! Here’s a direct download link (OSX 10.6+ required).
Show Intent with Better Naming
What I learned from Corey Haines at the Boulder code retreat: Show Intent with Better Naming
Parellel Programming with Dropbox
I had a goofy idea about parallel programming, TDD, and Dropbox: Parallel Programming with Dropbox
Cohesion and Coupling: Principles of Orthogonal, Object Orientated Programming
This is the first in a small series on the fundamental principles of object orientated programming. Most examples will be in Ruby.
File Uploads With S3SwfUpload (Episode 92 from the SD Ruby podcast)
Nathan Colgate Clark gives a general overview of his Amazon S3 upload plugin (past, present, and future) and shares his thoughts on how it managed to stand out on GitHub. Watch episode
Rails MVC VS Sproutcore MVC
Sproutcore and Rails both use the MVC pattern to organize their code bases, so their architecture must be the same right? Well, not quite. My new blog post documents the differences between a server side MVC like Rails and a client side MVC like Sproutcore.
Vim for rails developers a screencast review
I just published a new article of the series vim for rails developers. Check vim for rails developers a screencast review out.
Exception Notification v2.4.0 is out!
I just released the version 2.4.0 of the Exception Notification. Try it out here and report the bugs you find here
Who knew? Rails 3 doesn't have to be slow
Describes how effective use of the REE memory settings with a dash of creativity can take Rails 3 from being half as fast as Rails 2 to being faster than its predecessor. Benchmarks included.
Backup 3.0.0 (RubyGem) - Just released!
Just wanted to let everyone that might be interested know I just finished my 100% rewrite of the Backup gem. [more inside]
GC Tune Ruby 1.9.2 With RVM
You can GC tune 1.9.2 with RVM just like Ruby Enterprise Edition. This article walks you through updating and patching your 1.9.2 with RVM. It also covers using RVM hooks to apply your GC preferences. Thanks to Sokolov Yura (funny-falcon) for the patch!
passenger_mon
Out of control passenger processes gotcha down? You need passenger_mon, bro. passenger_mon allows you to pick a memory threshold at which to gracefully shutdown passenger processes, so your servers don’t run out of memory. [more inside]
Fetch rss feeds in Rails
This simple article will show you how to fetch rss feeds in your rails application. Lesscode.se
Looksee 1.0.0 - method introspection on steroids
Exploring new codebases, let alone hacking them, can be tricky in a dynamic language like Ruby. Sometimes the best way is to stick a debugger or IRB in the source, and reflect on the objects. Ruby gives us a lot, but leaves it to us to present this information in a useful way. [more inside]
Interview with Michael Hartl
In this post I interview Michael Hartl, author of the popular Rails 3 Tutorial. Plus I’m doing a giveaway of the tutorial’s printed edition.
Why and when you should use Cucumber.
I keep hearing it over and over again; using Cucumber is redundant. Bullshit right? Check out this article.
Message Block (Episode 91 from the SD Ruby podcast)
Ben Hughes shows off message_block, a gem which simplifies generating flash and error messages. Additionally, Ben discusses how to test gem development using Cucumber and Cukigem. Watch episode
Almost Sinatra: Sinatra in eight lines
Did a Sinatra refactoring, it’s only eight lines now: .
Goliath: Non-blocking, Ruby 1.9 Web Server
Goliath is an open source version of the non-blocking (asynchronous) Ruby web server framework powering PostRank. It is a lightweight framework designed to meet the following goals: bare metal performance, Rack API and middleware support, simple configuration, fully asynchronous processing, and readable and maintainable code (read: no callbacks). [more inside]
Migrating from Attachment_fu to CarrierWave
Still on Attachment_fu ? Here’s a little help to get you on CarrierWave.
Full Text Searching with Solr and Sunspot
We’re starting a series on Solr and Sunspot because it’s just plain awesome. I posted an intro to solr/sunspot this morning.
Payday: PDF Invoice Generation Gem
I just launched Payday, a gem that helps out with generating PDF invoices.
CSS3 box-sizing and making 50% wide padded elements behave
We just published an article exploring the CSS3 box-sizing property and its possibilities!
Why you should spend some time configuring irb
I just published an article about why you should spend some time configuring irb.
gem install defined
Calls Module#defined AFTER a ruby class or module is (re)defined shuber/defined