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.
RMU Study Hall #2
Over at Ruby Mendicant University, we’re holding a second series of free mentoring sessions between beginner level Ruby programmers and volunteers from our alumni network. If you could use some help in your Ruby studies and can find some time for a 45 minute meeting with one of our mentors between 3/14 and 3/18, please feel free to sign up for a session.
Chuusha 0.2.0: Erb templates for css and js
I just released Chuusha 0.2.0, which allows you to run JavaScript and CSS templates through ERB. It plays nicely with Rails’s asset caching as well.
An init script for managing delayed_job
If you run delayed_job as a daemon on a server, you’d probably like to have an init script for automatically starting it at bootup time. Let me share with you my init script for accomplishing this – and it’s even RVM-friendly!
Data.js 0.2.0 released
I just released Data.js 0.2.0. It’s data manipulation and persistence for Javascript.
Redis Master/Slave with Ruby
Looking to distribute your Redis load? Read more
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. Read more
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. Read more
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. Read more
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). Read more
Migrating from Attachment_fu to CarrierWave
Still on Attachment_fu ? Here’s a little help to get you on CarrierWave.