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.
[ANN] RubyOnRails Training in London, UK
I will be presenting a number of Ruby and RubyOnRails courses in London which will run over consecutive days. If both are taken there is a 10% discount.
Making Paperclip work with Sinatra & Datamapper
Brief explanation on how to upload files using Paperclip using DataMapper and Sinatra. Check it out here
New 'Ruby Quicktips' blog
I just launched Ruby Quicktips. This blog is dedicated to deliver short, interesting and practical tidbits of the Ruby language and Ruby on Rails framework. Your submissions are very appreciated! http://rubyquicktips.tumblr.com/
Writing contingent Ruby with #retryable
I recently blogged about how to add sugary syntax to re-performing a chunk of code n times. I needed it to ensure that i could rescue from a specific exception (in my case a timeout error when connecting to a socket). Check out the post to see how.
[ANN] Ruby Metaprogramming Course – Start Thinking in Ruby
RubyLearning has just announced the third batch of the Ruby Metaprogramming Course from 6th March 2010. Early Bird Discounts offered. You will find author of “Metaprogramming Ruby” book Paolo Perrotta, lurking in the course forum!
Paginating documents with couchrest & will_paginate
Paginating documents from CouchDB with couchrest & will_paginate explain in this blog post, and it is not as difficult as you might imagine.
Rad DCI Architecture Talk
I recently popped off a quick blog post about an awesome lecture on the concept of DCI architecture that I’ve been watching. This looks very promising and I’m guessing other Rubyists will be interested too. Check out my comments and jump from there to the video.
LazyGem 0.0.2 released - Feedback request
I just launched LazyGem 0.0.2, this update features OS detection. Please provide any feedback possible. Thanks.
Model Specific Formatted Search Results Using Thinking Sphinx
With Thinking Sphinx, it’s easy to have a bunch of different classes returned in the results. The tougher part is displaying them in a way that is organized. Here is a quick tutorial on how to display your results in a model specific fashion.
Why we should drop 1.8 support in Rails 3.
Here’s why I think we should only support Ruby 1.9 with the Rails 3.0 release. http://www.metabates.com/2010/02/08/ruby-1-9-rails-3-0/
RubyInstaller: Steps getting mysql gem to build its native extensions
I just wrote a small tutorial on how to install mysql gem when using RubyInstaller.
Doing the Undoable
Nearly a week ago, Matt Aimonetti wrote an example on using MacRuby and NSUndoManager to implement undo functionality. This is a byproduct: an Undoable module.
Riding Ruby on Rails 3 with Bundler
I just posted Riding Ruby on Rails 3: Bundler which shows how to manage your gems with Rails 3.
nanoc3 Blog Starter Kit for Rubyists
The blog compiles into pure HTML. No runtime needed on your host. Ultra-fast and light. No database. No headaches. Host anywhere. A live example is hosted on htp://nanoc3-blog.mgutz.com. For more: About nanoc3_blog and Getting started
Fake it till you make it! - Faker Rake Task
I just launched a ‘fake out’ rake task. Using the very excellent Faker gem by Benjamin Curtis this task can be configured to populate your models with random amounts of fake information. This can a be a real time-saver for load testing, preparing demos/screencasts, or just filling up your pages with realistic data so you can get to work on your views. Here’s the blog post and the script as a Gist on GitHub
How to use Rails templates in Wordpress themes
Step-by-step guide so you can call “rake blog_theme:update” to update your WordPress blog theme with a Rails layout. View guide
Wrap your SQL head around Riak's Map-Reduce
My second post about Riak explains how to convert your SQL queries into Map-Reduce jobs.
Sikwamic: Simple Key-Value With Comet
After all the feedbacks I got on Loopchat, I decided to launch Sikwamic, a simple rackware, that enables you to use REDIS over HTTP and with COMET style LONG POLLING. enjoy.
Introducing SafariRSS - a MacRuby & HotCocoa App for Safari RSS Integration
Acts as the Default RSS reader for Safari and redirects to Google Reader by default. Easily modified to redirect to another URL or launch another app - Read More Here
Why Riak should power your next Rails app
Just posted on my blog 7 reasons why Riak is awesome, and why it’s a good fit for your next Ruby web application.
DNote 1.1
Just released DNote v1.1. DNote is a command-line tool for scanning Ruby source for developer’s notes and laying them out in the format of your choice. This release adds a few extra formats and improves upon the underlying implementation.
Updating Your Shell Aliases/Functions For Rails3
Well since I now have a rails 3 application in production and more on the way, I starting updating my shell aliases to a new ZSH function that can ‘script/console’ or ‘rails console’ depending on my apps setup.
Ruby Whois 1.0 is here!
Whois is an intelligent pure Ruby WHOIS client and parser. The first Whois major release is now available. Whois 1.0 includes Client, Answer, Parsers and CLI interface. Read More.
Writing a Tree Provider in Redcar
Here’s a blog post about how to implement a a tree view in Redcar, the Ruby text editor.