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.
MustBe: Selective type-safety for Ruby
We all love ruby for its free-flowing non-static-typedness, but sometimes it’s healthy to do little sanity check. To make sure your duck is a duck. must_be is a powerful library for runtime assertions, allowing you to build assumptions into your code. A great way to find bugs before they find you!
Automate your Terminal.app with Apfelschorle
I’ve released a small Terminal.app launcher (OSX only) that works with multiple windows, not tabs. Start using your 1680+ pixel display with different parallel windows instead of wasting it with one (and hidden tabs). [more inside]
The Terminitor - Automate your development workflows.
The Terminitor is a brand new rubygem that can simplify your workflow by automatically executing the terminal commands needed to prepare your project. Check out the the source on Github.
Always check in schema.rb
Some argue that schema.rb should be ignored in your version control. Long story short, I argue that it should not.
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. http://github.com/lailsonbm/contact_manager_app/
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.
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.