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.
awesome_print 0.2.0
Pretty print your Ruby objects with style – in full color and with proper indentation. The latest version provides transparent logger integration, so you can use [logger.ap object] in Rails. Check out http://github.com/michaeldv/awesome_print
Barista - Coffeescript + Rail 3 Love
I very recently released Barista - an alternative to bistro_car for handling coffeescripts in Rails applications. You can read why I wrote it and what it offers - namely, simple framework support like compass does for Sass.
[ANN] resque-retry & resque-lock-timeout plugins
I have just released two resque plugins: resque-retry v0.0.2 - Adds retry, delay and exponential backoff support for resque jobs. resque-lock-timeout v0.2.0 - Adds locking, with optional timeout/deadlock handling support to resque jobs.
RSpec Subjects Video - Teach Me To Code
Here’s a video on a terrific feature of RSpec that allows you to write concise and readable tests.
easy_translate
I uploaded a gem easy_translate, which (unlike similar libraries) allows bulk translation from Google Translate. Its got a very clean API, and supports every feature that v1.0 of the translation API supports. Check it out! — gem install easy_translate
A simple "defense in depth" technique fo...
A simple “defense in depth” technique for enforcing price plan restrictions in your models.
Rhodes 2.0 announced
Infoq has an article about the announcement of Rhodes 2.0, the cross-platform native application development framework that’s written in Ruby and resembles Rails with its MVC structure.
How to read Google buzz updates in Ruby
I have written a short code to read google buzz updates using Nokogiri and Feedzirra. The Ruby code is here. Feedbacks are most welcome :)
MRI Memory Allocation Primer
Kirk Haines of Engine Yard has written a primer on memory allocation in Ruby MRI.
Dave Thomas Interview - Part 2
Get the second half of my interview with Dave Thomas here. Dave Thomas of the Pragmatic Programmers explains the genesis of the publishing company, Agile software, learning new programming languages, and building your own business.
Voicemail for DIYers
I just created a simple app that replaces traditional cell phone voicemail with an emailed transcription and recording using Heroku and Tropo.
Is there a place for a Ruby Idiom site?
I’m trying to create some discussion over on the Thinking in Rails site and am asking the question of would a ruby idiom site be a useful resource, or do sites like StackOverflow Refactor My Code and google searches satisfy this need for newbies.
Screencast: PageFactory and PageParts extensions for Radiant CMS
RadiantCasts episode 11 is out, covering the new PageFactory and PageParts extensions for managing large sites and complex content.
Steak: because Cucumber is for vegetarians!
I just released an article about Luismi Cavallé’s “Steak”: minimalist acceptance testing using pure Ruby with Rspec and Webrat or Capybara. No explicit givens, whens or thens. No steps, no English, just Ruby.
Ruby Midwest Early Bird Ends May 15!
The Ruby Midwest conference Early Bird pricing ends on May 15. Register now to attend this two-day, single track conference with 20+ speakers for only $75. Follow @RubyMidwest on Twitter for updates, contests, & discounts!
Date validation with Rails 3
We just launched a simple gem for date validation in Rails 3 with full support for Remarkable matchers. Checkout also the source at GitHub.
RubyKaigi 2010: Call for Presentation Proposals application form is still open
We finished accepting application at 28th Apr. However, for people who have another proposal, our application form is still open (will be closed at 10th, May). We will consider how long is your proposal(s) delayed at program selection. Call For Presentation Proposals | RubyKaigi2010 Call For Sub-Event Proposals | RubyKaigi2010
Easier admin panel for Rails
I wrote a basic Sinatra app that generates form and table ERB templates to help me write an admin panel for a Rails app. The app let’s you leverage the rapid development that comes with metaprogramming while also avoiding its unreliability and limits on customization.
Whats happening in the Ruby Twitter space right now?
Happening searches Twitter for Ruby related tweets, and also translates non English tweets to English using Google Translate
ruby v. haskell (round 3): mutually recursive data structures
Continuing my series of posts comparing and contrasting the dynamically-typed imperative language Ruby with the strongly-typed declarative language Haskell, I’ll now examine the abilities of these languages to create mutually recursive data structures.
Ruby isn’t a kiddie language
Don’t call Ruby a toy language! — Read Full Article
LRUG Podcast Episode 2
Episode 2 of the London Ruby User Group’s podcast is out now. In this episode we talk to Seth Edwards. Seth is a software developer who works with C# and Ruby and contributes to the C# bindings for MongoDB.
Distributed Coordination with Apache Zookeeper
Zookeeper is a distributed lock and metadata store originally incubated within the Hadoop umbrella of services. However, it is also generally useful for solving distributed problems, and is designed to be highly available and scalable – a quick look at the architecture, API’s, and working with it in Ruby.
Ruby and Rails Jargon for Beginners
Since sometimes entering the world of Ruby and Rails can be a strange place, knowing some Ruby and Rails Jargon will help out if you don’t know your gem from your DRY CRUD.