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.
Shindo testing framework for Ruby.
Shindo is a depth first testing framework that is written in ~200LOC. It is fast and has an interactive mode. Checkout this screencast for a demo.
BrB: extremely fast interface for doing distributed ruby
I have recently released the first version BrB, an Event machine based distributed ruby, it is simple and transparent but is extremely fast and reliable. BrB Ruby github. Blog post for usage and example of BrB.
Red Dirt Ruby Conference: Registration Deadline and Discount
Red Dirt Ruby Conference — May 6th and 7th, 2010 — Cox Convention Center, Oklahoma City, Oklahoma — Regular registration deadline this Friday, April 23rd — 10% Discounted registration for readers of RubyFlow using the code rdrcrubyflow [more inside]
ColorTail Gem Released For Prettier File Tailing
I just released a new gem called colortail. ColorTail provides a cool way for you to configure how logfiles (or any other files for that matter) look by color or text attribute based on regular expressions when you tail them.
Using Enums For Constant Data in Rails
I just wrote up a bit on how to use enums as constant data in Rails and ActiveRecord.
RubyScope, ruby colored binoculars
First release of RubyScope a tool for doing syntactic queries against your ruby code. Find out where variables are being assigned, classes and methods are defined, and more. A TextMate plugin is coming soon.
Installing Rails 3.0 beta3 on Ubuntu
A simple article on installing Rails 3.0 beta 3 on Ubuntu using RVM.
Three reasons for Resque (and a Scout Plugin)
Jesse Newland of Rails Machine shares three reasons they’ve started using Resque for high-volume background job processing.
Guestlist: user authentication using Github credentials
I just released Guestlist: a Rubygem for user authentication using Github credentials. The source is on Github and here’s the gem.
Unobtrusive Ajax with Rails 3
How to use ajax callbacks in Rails 3 w/ Prototype Read Full Article
state_machine 0.9.0
state_machine 0.9.0, an FSM library, has been released. Highlights include: MongoMapper 0.5.5+ / ActiveModel 3.0 support and around_transition callbacks.
Page Objects in Cucumber with Gizmo
We recently launched Gizmo, our implementation of the page object pattern for cucumber testing. It essentially DRYs up your cucumber steps by allowing you to abstract all your page element selectors used for actions and assertions into modules. It’s still very new but quite usable. Check it out: Rubygems where you can find out about installing it. Github where you see setup details and examples of usage. Feedback is welcome here.
Full stack Rails testing with holygrail
A presentation on holygrail, given via Skype screen-sharing to 757.rb, by Evan Light of We Are Titans. Watch it here.
Isy – HTML with Erector
I posted another article about Isy framework and its HTML generating with Erector. Please read and comment to shape this new framework. [more inside]
CanCan 1.1 Released
The CanCan authorization library for Rails has been updated to 1.1. It adds several new features including defining abilities through a hash of conditions and fetch database records based on permissions. Check it out!
Ruby Brew: A custom coffee created for Great Lakes Ruby Bash
We’ve served up over 200 cups of Ruby Brew, a custom designed and roasted coffee for Great Lakes Ruby Bash. Ruby Brew was designed and roasted by Roos Roast, an Ann Arbor, Michigan based coffee micro-roaster.
What are the IRB extensions that you use on a daily basis?
For DietRB, I’m looking for input from users on what IRB extensions they use on a daily basis, so I can start investigating what is really used and what I should support. [more inside]
Simple API Versioning in Rails
There’s a way to build versioned web services using only core features of Rails, and it’s much simpler than you might think.
Rails Coach #16: The DRY Principle
One of the basic principles behind Ruby on Rails is the DRY principle. I’ve done a brief discussion in this podcast episode.
Welcome to the Troposphere
Great writeup by @ananelson on using Tropo with Ruby: Welcome to the Troposphere. She does a great job of giving multiple use cases of some real apps you would want to develop.
Non-blocking ActiveRecord & Rails
The mysql gem is one of the worst offenders when it comes to performance of Rails. A look under the covers of the driver architecture & available alternatives.. Followed by a demo of an async ActiveRecord driver! (MySQLConf presentation)
Ruby Midwest Conference Speakers Announced
Check out the complete Ruby Midwest speaker lineup posted on the conference website. Register now ($75) to hear Yehuda Katz and Chris Wanstrath deliver the best keynotes this 2 day, single track, 20+ speaker conference has ever heard!
Beetle: A Ruby Gem for High Availability AMQP Messaging
The Rails team at XING just released Beetle, a ruby gem that helps building highly available messaging systems using RabbitMQ and Redis.
Prawn 1.0 is just around the bend.
The first draft roadmap for Prawn 1.0 has been announced. We will allow two weeks (until 4/29) for open discussion before locking down the plan and executing. If you do PDF generation in Ruby, please come and participate in the discussion! I have officially retired PDF::Writer today, so you’ll want to get involved in this process as Prawn is the way forward.