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.
archive_tree v1.0.0 is out!
I just launched archive_tree v1.0.0. ArchiveTree is a Ruby Gem for your Ruby on Rails application that makes it easy for you to generate structured trees of your records.
Where are the Rails infrastructure support firms?
A baby is a lot like a Rails application: the problem is caring for it, not creating it. Where are the caretakers for this Rails business baby boom?
How does your code smell?
In the article “How does your code smell?”, Dr. Kevin Rutherford talks about code smells – any symptom in the source code of a program that possibly indicates a deeper problem.
Do YOU know Resque?
In the article “Do YOU know Resque?”, Dave Hoover shows you how to setup Resque, and its data store Redis, and show you how its queues, jobs, and workers interact.
EnumerateIt - Simple and powerful enumerations for Ruby
EnumerateIt is a gem to create enumerations and associate then with your objects’ attributes. It also adds some interesting new methods to help you manage these enumerations.
RubyConfirmate
Want to organize your RubyConf schedule and see which Twitter friends will be there with you? Check out RubyConfirmate!
Getting started with CI on Hudson and Vagrant
Simple CI now!</a> You need your CI test environment to look exactly like your production environment; and it should be trivial to set up. Here’s how with Hudson CI, Vagrant and 10 minutes of your time!
Practicing Ruby, The Newsletter
My work with students at Ruby Mendicant University over the last several months has taught me a ton about what topics are stumbling points for intermediate Ruby developers. In an effort to help support the ongoing operations of RMU while simultaneously helping others learn, I’m launching an inexpensive bi-weekly newsletter. You can learn more about it on the RBP blog.
Fun with Rails' Git Log and glTail
I ended up with a little too much free time the other day and was curious to see what would happen if I fed the entire history of Rails’ commit history through the visualization tool glTail. It looks like this.
Snorby 2.0 - Network Security Monitoring
I am glad to announce that Snorby 2.0 is in early alpha testing. Snorby is a rails application for network security monitoring that interfaces with most popular IDS systems (Snort, Suricata and Sagan). Snorby is a perfect solution for web developers monitoring production web servers, small/medium size companies and home users. The Snorby repository can be located at https://github.com/Snorby/snorby and a video walkthrough on some of the 2.0 features can be found here http://vimeo.com/16597187. - Dustin Webber
has_enumeration 1.0.0 Release
has_enumeration is an ActiveRecord extension that allows an attribute to be treated as an enumeration of symbols, regardless of its underlying type in the database. For more information, please read the release announcement or check out the has_enumeration project page on github.
Making RSpec stop operation immediately after failing
An article about RSpec’s fail_fast configuration option and command line argument that make RSpec immediately stop running after the first failure occurs.
adva-cms2 0.0.2 available
adva-cms2 got mentioned on the Ruby show last week. [more inside]
ROR Ecommerce Documentation
I just launched Documentation for the RoR Eccomerce Platform. The site isn’t complete but for people just starting out with RoR Eccomerce this should be a big help. [more inside]
Setting up carrierwave file uploads using GridFS on Rails 3 and mongoid
I’ve written an article on setting up carrierwave to provide file uploads for Rails 3 on mongoid using a remote MongoDB GridFS (here: a free MongoHQ) instance.
Giving back to the greater community
Have you heard of Movember? A team of ruby developers in Amsterdam created a little site in support of Movember called The Daily MO. You can read more about it on Jeff Kreeftmeijer’s blog. [more inside]
Reading The Twitter Gem's Code
The Twitter gem has recently gone through a big rewrite. For those of us who are just learning how to read other people’s code, here’s a brief look at the inner workings of the Twitter gem: http://www.arailsdemo.com/posts/22
How Blueprint and Compass help Idiots making CSS layouts
This nerd’s tutorial helps understanding how Blueprint, Compass, SASS and Rails work together to make better-looking pages. It is addressed to non-designers like me.
Zero to Tested with Cucumber and Factory Girl
This blog post by Clayton Lengel-Zigich was written in March 2010 but it’s so good i had to post it. [more inside]
Setting up Hudson for a Rails3 project
I’ve written an article on using Hudson continuous integration server for a Rails3/rSpec/Cucumber project (using rvm and Bundler). I hope my experience may be useful to some of you.
Streams & Pools: A Naive Approach To Scalable & Flexible Social Feeds.
A talk about the architectural pattern we use at Peer Couture for the tidy, scalable management of social objects scattered across different listings (streams) and personalized, per-user timelines (pools).
Mixing ANDs and ORs in Sphinx
I’ve just finished my new article. I’ve managed to mix ORs and ANDs on one attribute in Sphinx and I wanted to share my experience: http://devguru.pl/post/1488304624/mixing-ands-and-ors-in-sphinx Thanks in advance for the feedback!
Installing Ruby on Rails on Windows
I’ve written a set of instructions for installing Ruby on Rails on Windows (natively, not under cygwin). It’s aimed at setting up a development environment on Windows. I hope that it’s useful.
Using Ruby to Automate Windows GUI Applications for Testing
Presenting win32-autogui. A Ruby Win32 GUI testing framework packaged as a RubyGem. This library facilitates integration testing of Windows binaries using Ruby based tools like RSpec and Cucumber regardless of the language used to create the binaries. The source repository contains specs and an example Win32 program with source and specs written in Delphi (Object Pascal).
Santiago Pastorino's slides on Metaprogramming in Ruby
Check out Metaprogramming in Ruby slides from his talk at RubyConf Uruguay.