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.
RVM + Rails 3 + nginx + Phusion Passenger
Recently, I have been dabbling in the Ruby/Rails world for the first time, and as a newcomer there’s lots of new information from many different sources that I thought I would put together for other newbies. After much research and head scratching this is the Rails stack that I’ve come up with, minus the database, that will be next. I am hopeful this setup will be a rock solid solution, and from what I’ve Googled around it at least appears to consist of proven frameworks and technologies. [more inside]
New release of Cartographer supports Google Maps v3, Rails 3 and large number of markers
Cartographer is a google maps api wrapper which was originally written in 2005 and supported google api v2. New release of cartographer allows legacy code to make use of Google Maps v3 by just setting one environment constant. Go play with it here : Cartographer
What We Learned Upgrading Harvest to Rails 3
100K+ lines of code, 32 plugins, and 82 gem dependencies later. Read the post.
How to Monitor Your Rails/Passenger App with Munin
I actually wrote this a while ago (before I knew about RubyFlow), and was reminded about it yesterday by Miso’s post on using Munin to monitor Varnish. Anyway, thought the RF community might get some use out of it. How to Monitor Your Rails/Passenger App with Munin
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.