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.
Sinatra in SIX lines
Did you know that you only need six lines to implement Sinatra? What crazy things can you do with flip flops? And what’s coming for Ruby 3.0? Check out my talk on this and many more rather irrelevant but highly entertaining things.
Add sitemap support to your Rails 3.x app using DuckMap
Adding a sitemap to your Rails 3.x app is very easy with DuckMap. In fact, all you really need to do is add the duck_map gem to your Rails app and view it at: http://localhost:3000/sitemap.xml [more inside]
Steel City Ruby CFP Opened & Lineup Announced
Steel City Ruby Conf 2013 has opened its CFP and announced its base lineup. The newly launch website has more info.
Full lineup of speakers announced for SpreeConf in Washington, D.C.
The schedule for SpreeConf 2013 has been announced. The conference will be held on March 20-21 and feature two full days of training and talks dedicated to the world’s most flexible e-commerce platform. Tons of Ruby/Rails goodness even if you don’t have an e-commerce project coming up! [more inside]
Inspecting Rails 4 using Ruby 2.0
Ruby 2.0 has a brand new feature very few people talked about: TracePoint. This Ruby 2.0 TracePoint example shows how to use this new feature to look at what Rails does when she handles requests. More specifically what classes and methods are used and how often.
Upgrading Rails: Gems Extracted in Rails 4
I posted a list of gems extracted from Rails 4. When upgrading a Rails 3 application, you may need to pull in a few of these.
Deploy compiled assets with Capistrano
A short how-to: Deploy compiled assets with Capistrano
RTanque - A videogame for Ruby devs
RTanque is a RoboCode (java) clone for Ruby. The goal is to program the logic for a tank and then send it into battle. Great for learning Ruby or to organize a local competition.
Gemnasium gem 1.0.0 is out
Tech-Angels just launched an open-source gem to upload just the needed files from your projects: gemnasium-1.0.0. More info on the blog post or the project readme.
Ruby Conference India 2013 - CFP Now Open - June 22 & 23
We’ll be hosting the 4th annual RubyConfIndia in Pune, India. We are looking for a diversity of speakers and topics that are of interest to Rubyists of all kinds. Proposals will be accepted until April 30th. For information about speaking and to submit a proposal, visit here. For more details about the conference, visit here.
rufus-scheduler 2.0.18 out
Just released rufus-scheduler 2.0.18. Thanks to Andrew Davey the ‘cron’ bit of the scheduler now understands “L” as in “Last day of the month”.
Why are we still clobbering empty array parameters?
You may have noticed that ever since the CVE-2013-0155 security vulnerability, Rails has been clobbering empty (or all-nil) arrays in parameters down to nil. [more inside]
Phusion Passenger 4.0 Release Candidate 4
This releases fixes a lot of bugs.
Long Islang RUG?
Would anyone be interested in a Ruby user group on Long Island?
Burlington Ruby Conference 2013 - CFP Now Open - August 3 & 4
This summer we’ll be hosting the 2nd annual Burlington Ruby Conference in Burlington, Vermont. We are looking for a diversity of speakers and topics that are of interest to Rubyists of all kinds. Proposals will be accepted until April 1st. For information about speaking and to submit a proposal, visit
Defining Immutable Record Types in Ruby with Hamsterdam
Hamsterdam is a Ruby gem that makes it fun and easy to define and use efficient immutable record types in Ruby, backed by Hamster’s Hash class..
Automatically Run Your Specs Before Committing in Git
Ever accidentally commit some code, push it, and then find out that there were failing specs? Use a pre-commit-hook to avoid this pain, I wrote up a tutorial on Using pre commit hooks to run your specs
Check if Rails assets need to be precompiled
Wrote a quick rake task to check if Rails assets need to be pre-compiled (which I like to do before deployment) - if there’s interest, I will try submitting a pull request to add this to Rails
oh-my-fish framework for #fish #shell wi...
oh-my-fish framework for #fish #shell with updated support for #rvm. Also added a install script!
world.db JSON HTTP API Sample w/ Sinatra
I have created a little JSON API service for the open world database (that is, world.db) using the Sinatra Ruby gem. For example, /countries/south_america gets you all countries in South America. Note: Using .txt will get you all countries as comma separated values, that is, plain text and .html will get you all countries as a plain hypertext table. See the start page or the project page for more info. Cheers
namespace gem
Add Namespace functionality into your classes with name_space gem git page. Rubygems page
Janky - The forgotten tool for jenkins
janky installation step-by-step http://bpinto.github.com/posts/janky-the-forgotten-tool #jenkins #ci #hubot
Code Typos Got You Down? Stop Worrying with close_enough
Typographical errors can slow down development, especially if your typing speed exceeds your accuracy. We just released a gem called close_enough that “fixes” this problem, which I describe in this blog post.