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.
How I set up RVM and Passenger for development
I just posted a walkthrough of the steps I took to set up RVM an Passenger for development in Rails 3 and Rails 2.3, using project-specific gemsets. These are the steps that worked for me; if you have suggestions I’d like to hear those as well.
Find out how New York Times scales rails with varnish
Webpulp.tv posted the interview with Jacob Harris about how they use Varnish to help scale all their interactive rails apps.
to_php: block translator
I just launched to_php a php block translator with gems php and sourcify. More on my blog
Disabling ActiveModel callbacks
In this article, I’m trying to figure out how to temporarily disable ActiveModel callbacks. How would you solve this?
Rapid Application Deployment (Rapp) - Screencasts included
Check out Webbynode’s Heroku-like Deployment for virtual machines/vps.
how validation reflection works
an article on how the validation reflection gem works.
Easy devise-twitter integration
I just released devise-twitter, making Sign in via Twitter and Connect your account to Twitter functionality easy.
Sorting ActiveRecords like a champ with hey_sorty
hey_sorty allows you to easily sort AR collections in your app.
How to install MySQL and Rails on Osx Snow Leopard
My new article is a step by step tutorial about how to install MySQL, Ruby and Rails on Osx Snow Leopard. [more inside]
Fetch server stats from Monit with the new "monit" gem
The monit gem provides a ruby interface for fetching server stats from Monit instances.
Steak + Javascript + Factories
Some days ago, I had a hard time trying to make Steak work with javascript pages and factories. So I created a demo app and a tutorial to help others who want to do the same. Through the README I explain how to configure Steak to use a javascript environment only when needed and to choose a faster way when it doesn’t.
Use batched finder for large data query
I have wrote an article Use batched finder for large data query, it tells you how to save memory when querying large data.
Share data between processes easily, and naturally.
Barney tries to make the sharing of data between processes as easy and natural as possible. [more inside]
Common interface for Ruby HTTP libraries
HTTPI provides a common interface for using different HTTP libraries. I need this for another project and unfortunately couldn’t find anything like it. Please let me know if something similar already exists. If it doesn’t, I’d appreciate your support!
Git User's Survey 2010
Since I expect most of us to use and enjoy Git, please take a moment to participate in the Git User’s Survey 2010.
Limited Red with a Cucumber project
A screencast demonstrating using the Limited Red project with Cucumber.
ActiveRecord Statistics v1.0.0
I just launched AR stats 1.0.0.
Deploy Refinery CMS on Heroku - It's dead simple (and free too)
Refinery CMS now has a new –heroku option which makes deploying to Heroku easy and fast. Check out the tutorial
Malt: A multi-template rendering engine
Today’s fun is Malt (though maybe not as fun as the liquor). Malt is multi-template rendering engine. What’s that? Yes, yes, like Tilt. But, you see, I had some problems with Tilt’s consistency across different formats, and though I tried to contribute back to Tilt, it was happen’en. You know how it goes. So, I wrote a whole new, much more “OO”, library. It’s an early version yet, v0.1.0, but her test batches all run green (at least on 1.8.7). She ought to go down pretty good. Go ahead, enjoy a cold one on me.
rescue_me
A colleague of mine recently wrote rescue_me, a small wrapper for exception-generating code that retries with exponential backoff. We had to connect to a sporadically flaky webservice, and this bit of code made our stuff a lot more robust with minimal effort.
Extending the Ruby String class to add OpenSSL Encryption/Decryption (for Rails)
I have posted an article on how to extend Ruby’s String class to include OpenSSL encryption/decryption in web projects (like Rails, Sinatra, Padrino, etc).
X-Frame-Options Rack Middleware
Firefox 3.6.9 added support for The X-Frame-Options response header. Other major browsers supports this too. [more inside]
Six best talks from LSRC 2010
My top picks of the talks you need to check out from Lone Star Ruby Conf 2010
Humanizer - "the simplest CAPTCHA solution ever" updated to 2.1.0
New 2.1.0 version includes new translations (Portuguese, Brazilian Portuguese, Dutch), support for inline errors in Formtastic, more flexible validation and minor polishing.