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.
Send Uploads to S3 Asynchronously (with Paperclip and Delayed::Job)
Delayed upload delivery to S3 with Paperclip + Delayed::Job describes the process of sending uploads to S3 without stalling your Passenger instance as it waits for a response.
Division of Labor: Keeping a Ruby daemon running and leak-free
This post shows how we (Scout) tackled memory leaks and dying processes in our Scout Agent.
Google Analytics and Rails in 60 Seconds
Google Analytics and Rails in 60 Seconds is a simple tutorial that will show you how to quickly install Google Analytics into your Rails website. Also covers when to use a Plugin, and when not to use a Plugin.
Rails Envy Podcast #86
Just posted Rails Envy Podcast #86 which contains all the Ruby / Rails community news from the past week in audio form so you can listen while commuting, mowing the grass, doing the dishes, or washing your cat. Subscribe on iTunes.
Win a free ticket to Rails Underground!
Sign up to attend the Flex Developer Webinar hosted by Ezra Zygmuntowicz and Jon crosby at Engine Yard. All new signups for the next 6 hours will be entered to win!
Code Blocks: Ruby's Swiss Army Knife
This RBP Blog Post features an entire section excerpted from the “Designing Beautiful APIs” chapter of Ruby Best Practices.
Siren: a JSONQuery interpreter for Ruby
Prompted by its being featured on Rails Tips recently, I’ve completed my original and long-interupted plans for Siren. It allows JSONQuery expressions to run against any Ruby object graph, and includes a JSON parser that supports cross-referencing and embedded queries.
How to make people lose interest in your project, and stop them from contributing in 5 easy steps
This blog post is a simple tutorial, on what to do, to stop people from contributing to Your open source project. (Sorry for repost, but looks like Ruby Flow ate headline, and someone who readed it had no idea what it is about)
Introducing Alias - Quickness in the Ruby Console
This post introduces the Alias gem which makes creation of aliases easy and configurable. Alias already supports aliasing constants, instance methods, class methods and delegated methods. With its aliasing DSL, creating your own alias types is a cinch.
How to make people lose interest in your project in 5 easy steps
This blog post is (I hope) excelent tutorial on how to get rid of those annoying people.
Permanently remove files and folders from a git repository
You can permanently remove files and folders from a git repository.
Rails Test Prescriptions Has Been Updated
A new version of the book Rails Test Prescriptions is now available. The biggest new addition is a section on Rcov and coverage testing, but there are numerous smaller tweaks to the book. Purchase the book or, if you’ve already purchased it, download the update.
Looking to speed up your Rails app?
@carllerche offers five helpful tips on the Engine Yard blog.
Haml/Sass 2.2 Released
There’s a lot to be excited about in the release of Haml and Sass 2.2. Haml has a new, more concise attribute syntax based on HTML. Sass has support for all kinds of powerful constructs, including mixins with arguments, loops and conditionals. Check it out.
TextMate Bundle to create Public/Private Gists
http://github.com/ivanvc/gists-tmbundle/tree With this bundle you can simply create public and private gists. You need to have Ruby, and configured your GitHub username and token in your global config. The URL will be copied to the clipboard.
Joseph Wilk on Cucumber & BDD
A short chat transcript talking about Cucumber and BDD. Joseph will be talking more about Cucumber at the Rails Underground conference in a few weeks. More interviews with other conference speakers are also on the site.
Spree 0.8.4 Released (Rails E-Commerce)
Spree has issued a new patch release which adds several new rake tasks designed to simplify automated deployments. This will help accommodate Rails hosting services that wish to provide Spree to their customers. Spree is an open source e-commerce platform for Ruby on Rails.
Externalizing your business processes with ruote
In driving business processes with Ruby I’ve taken a stab at explaining why state machines aren’t fit for driving business processes, and why workflow engines (like ruote) are more suitable tools for the job. Caution, it’s a long read…
How do I learn and master Sinatra?
A mini-series on how to learn and master Sinatra. In the first part, Rubyist Corey Donohoe gives us his insights.
Rumblestiltskin
Registration is open this week for the 2009 Rails Rumble. So start talking ideas and finding teammates at Rumblestiltskin and try to win the Rails Rumble championship belt sponsored by thoughtbot.
Acts as Immutable model plugin for ActiveRecord
(github repo). A Rails plugin that will ensure an ActiveRecord object is immutable once saved. Optionally, you can specify attributes to be mutable if the object is in a particular state; pass a block, if it evaluates to true the attribute will be mutable.
Monit Aggregator - aggregate all your Monit web interfaces into 1 page
Monit Aggregator is a Sinatra app that aggregates the data from your Monit web interfaces onto 1 page. There is also a free hosted version at Runs Like Clockwork - server monitoring.
Black Box Testing
Black Box Testing complex models looks at a way of testing models where many variables are modified affecting the output of many variables, all at one time.
Finding Dead Code with Old Yeller
Old Yeller is a dead code detector for Rails applications.