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.
RubyConf 2010 videos online
30 videos from RubyConf 2010 sessions now online. Recorded Nov 11-13, 2010.
version_bumper: bump your versions
Just pushed version_bumper. Quickly add versioning to your ruby and non ruby projects, in or out of rake.
Moving from WordPress to Jekyll
If you’re considering a migration from WordPress to Jekyll check out my notes here.
Micetrap - catch evil hackers on the fly!
I just released the first version of micetrap, a nifty tool which set traps to mislead port-scanning hackers (and log information about them!).
Defender - A gem for implementing easy spam filtering in your rails app
I just launched version 2.0.0beta1 of Defender, my spam filtering gem for Rails. See the README for how to use it.
Use Delayed::Job to handle Carrierwave processing
The followup to my carrierwave and ffmpeg post helps you to incorporate delayed job to offload the processing.
Easy Monitoring with Munin
Recently at Miso (our startup), we have been setting up improved monitoring for our various services such as Varnish. Along the way, we wrote up a guide to using Munin to monitor your applications. Also, since we just started our technical blog in the new year, there is a bonus post describing the various technologies and processes we use to power our applications.
Map-Reduce With Ruby Using Apache Hadoop
How to fire-up a Hadoop cluster on Amazon EC2, load data onto the Hadoop, write map-reduce scripts in Ruby and use them to run a map-reduce job on your Hadoop cluster.
Exerb 101: Building Windows executables with Ruby
If you work on the Windows platform, and you write ruby code, you’ll eventually come into a situation where you need a ruby script to run on a machine that doesn’t have ruby installed. Sometimes just installing ruby is an option, but there are times where it’s not feasible to do so. In that case, it would be nice to be able to bundle your code into an executable so you can deploy it where you need it. Read More
Emacs, Automating Inefficiency, and Hoptoad featured on How I Work
How I Work is a free web site that lets developers pickup productivity tips and learn about new tools by watching screencasts. [more inside]
Keycutter: manage gemcutter keys with ease
If you have multiple RubyGems.org accounts (personal, work, different open source projects) keycutter has you covered. Add multiple API keys and switch between them with a native gem command.
Barney 0.2.0, an IPC Library, released!
Barney is a InterProcess Communication library that tries to make sharing data between processes as ruby-ish, easy, and natural as it can be!
Activo web app theme for Rails
I released activo-rails yesterday, which makes using the Activo web application template as simple as adding “gem ‘activo-rails’” to your Gemfile. It’s particularly good for administration interfaces, and other data heavy applications.
Automating Heroku PG Backups
A simple rake task that uses Heroku’s PG Backups addon to push daily backups to your own S3 account.
Overview of New High-Availability Features in CUBRID 3.2
Today CUBRID revealed the new High-Availability features it will introduce in its next 3.2 release. By providing an overview of its HA architecture, it explains why CUBRID 3.2 will be more suitable for Enterprise services than MySQL.
ANN: JABE (Just Another Blog Engine)
We just launched JABE. Yea I know… another blog engine, really!? Well we like the idea of having an easily tweakable, non-static page blog engine. So, JABE is here. So far the UnderpantsGnome blog has been ported, the Pixels and Bits blog should happen soon.
ripl 0.3.0 released
ripl, a light modular alternative to irb, has reached 0.3.0. ripl works on most major rubies (1.8.x, 1.9.x, rubinius and jruby), has a growing plugin ecosystem of 15+ plugins and is fully documented and tested. For more on ripl’s features and advantages over irb see its readme and this blog post.
Don't ever run bundle update
In a nutshell, bundle install is usually the only command you’ll need, while bundle update, with no other arguments specified, will update each gem in your Gemfile and all dependent gems to it’s latest version. Usually, this is not what you want. Read on…
Write migrations right from the command line
Check out MigrationFor if you hate writing migrations.
Resourceful routing with Rails
Where I discus how resource routing can be used outside of ActiveRecord to create predictable and clean routes and controllers.
Do you need a Push Notification Manager?
Do you need a Push Notification Manager? In this article, Gautam Rege explains how Redis PubSub came to his rescue to help him communicate between applications.
How do I make a command-line tool in Ruby?
Allen Wei explains how to make a command-line tool in Ruby, using OptionParser and / or Thor. A guest post on RubyLearning.
Mockup-Driven Development
I’ve just written an article about Mockup-Driven Development.
Ruby-Curses(Commandline fullscreen) example app: TicTacToe
If you are thinking about doing some fullscreen commandline stuff and also like games, this Ruby-Curses example gem tic_tac_toe is a nice starting point.
Why you should always validate maximum lengths (and doing so with validates_lengths_from_database)
In a new post I explain why you should always validate string field maximum lengths in your models and release a new gem for making it easy, called validates_lengths_from_database.