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.
Cinch IRC Microframework
Cinch has had a lot of interest as of late. We have contributors and work has started on a website to house more information. Please keep feature requests coming in! For those of you who follow Cinch on GitHub, you may notice you’re no longer following. This is because I accidentally made the repository private and public again, meaning all watchers were removed. Sorry guys! Click here and start watching again. We also have the #cinch IRC channel on Freenode.org for testing your bots, and support. We don’t have many users in there, so come say hello!
Bond - Improving Irb's Autocompletion
Bond 0.2.0 is able to autocomplete arguments for any method, comes with argument autocompletions for 80+ ruby-core and rails methods, fixes irb’s incorrect autocompletions and can have additional custom completions defined in ~/.bondrc. This screencast demonstrates most of these features in action.
The Anatomy of a Ruby Gem
I spent some time having a look at the anatomy of a ruby gem and though I’d share my findings. Might be a good resource for newbies.
Switch between multiple Ruby interpreters with no hassle and no dependencies
If all you need is to switch your default Ruby interpreter between different versions, you don’t need RVM; all you need is optional package installations and four-line shell script.
LazyGem 0.0.5 Released
I just launched LazyGem 0.0.5 and this includes a complete rewrite of the gem and how it pulls and installs your subscribed gems from RubyGems.org. Tests are needed and feedback is welcome.
monster_mash - makes writing parallel HTTP code easy!
I just released version 0.1.0 of monster_mash, a library that provides a super-simple DSL for consuming HTTP resources, wrapping Paul Dix’s excellent Typhoeus library. You implement your API method code once, and get both serial (blocking) and parallel (evented) client methods for free! [more inside]
Simple database backups using a nightly CRON job and Capistrano
I recently posted a really simple but effective way to do cheap and easy backups. Check the post out here.
New Rails Dispatch Post: Secure by Default!
Yehuda Katz walks us through all there is to know about security in Rails 3. Check it out!
Host Static Sites in the Cloud
Kite is a tool for hosting static websites in the cloud. More specifically, you use kite to sync your site files up to a cloud-based datastore, like Amazon’s S3, and then use Kite’s tiny Sinatra webapp to serve the files. [more inside]
Why Rails asset caching is broken in your app and how you can fix it
The problems with using timestamped query strings for managing asset caching and how it can be fixed with the new AssetFingerprint plugin: Why Rails Asset Caching is broken and how you can fix it.
New gem for the Facebook Graph API
facebook_oauth is a ruby client library to access the new Facebook Graph OAuth API. [more inside]
Monty, a Rack based authorization system.
This is the first release of Monty, a Rack based authorization system.
contributing to rails using vagrant
With the Rails Bugmash around the corner, getting your machine ready could not be simpler. Read about how to use vagrant (with a base box all ready) for the simplest and quickest way to start contributing to rails.
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
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.