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.
Ruby Metaprogramming: Part I
“If you’re working with Ruby, chances are by now you’ve heard the word “metaprogramming” thrown around quite a lot. You may have even used metaprogramming, but not fully understood the true power or usefulness of what it can do. By the end of this article, you should have a firm grasp not only of what it is, but also what it capable of, and how you can harness one of Ruby’s ‘killer features’ in your projects.” [more inside]
Amazon Product: Ruby wrapper to the Amazon Product Advertising API
I just re-released our Ruby wrapper to the Amazon Product Advertising API as Amazon Product. The API gives you access to Amazon’s product catalogues in eight countries and lets you do many cool things with the data.
Travis CI - It’s the new awesomesauce.
If you need continuous integration for your open source projects than Travis CI is a no brainer. It’s free. It works. It’s trivial to setup. If you don’t know you need CI for your open source project … that’s topic for another post. Read more here.
Content I18n for Locomotive
Locomotive is probably the best CMS for Ruby powered websites and webapps already. However, one essential feature for use in multilingual areas or contexts is still missing: content i18n. Here’s an opportunity to change this. (If you prefer not to create an account on the Locomotive forum, just comment here instead.)
Ox: Fast XML serialization
I recently released fast XML serializer called Ox also here. It is many time faster than Nokogiri and for Object serialization it is several times faster than Marshal. If there is enough interest I can provide some details as to what I did to make the underlying C code used in the extension as efficient as possible.
DO - IT! - Ultra Tiny framework for manage common tasks.
DO is a thin framework useful to manage localhost and remote servers through ssh. Check it out!.
ActiveRecord Callbacks to manage the workflow of your models
If you’re trying to learn Ruby on Rails, the Rails Coach Podcast goes into ActiveRecord Callbacks to manage the workflow of your models.
How to add API throttle to your rails app
I just wrote a blog post about API throttle in Rails app.
Capybara-WebKit: Bringing WebKit to your integration tests
Our first Guest Series post, by Peter Cooper [more inside]
Laser: Finding Multiple Assignment Bugs in Ruby
Laser, the static analyzer for Ruby, now finds errors in multiple assignment. Ever have multiple return values lead to a bug in your Ruby code? Read about how we can find those bugs statically!
GemAWeek Episode 8 - Rubinius Day
Published Episode 8 of GemAWeek last Friday night at http://gemaweek.com/post/8544178112/episode8-rubinius-day. It’s inspired by Steve Klabnik’s teachmehowtomakearubygem presentation.
Consuming SOAP Webservices in Ruby
Peterson Ferreira published a blog post about Consuming SOAP Webservices in Ruby.
Where to find me now that I'm not using twitter.
Many Ruby folks followed my @seacreature account on twitter to keep track of my projects and news about Mendicant University. Unfortunately, twitter has been unpleasant for me to work with lately, so I’ve quit posting there for now. This post explains how you can keep in touch with me. [more inside]
`gem install` is painful
I wrote a blog post about Installing Gems. [more inside]
Switching from .NET to Ruby: The Ruby Environment
I’m doing a series of posts at RubySource on switching from .NET to Ruby. The first post in the series is on The Ruby Environment.
Ruby symbols instead of blocks
An explanation to why passing &:symbol instead of a block to a block-hungry-method works.
Nestable, sortable and dragable categories:
In the project I’m working on we wanted to have a Category model which we wanted to be nestable. But we also liked the user to have a draggable interface to manage and rearrange the order of his categories. So we chose awesome_nested_set for the model and jQuery.nestedSortable for the UI. [more inside]
rubylang.info: A Solid 3rd Party Attempt at a Site for Ruby
Chris Ledet noticed the recent drama about the cruftiness of Ruby’s official ruby-lang.org site and immediately set to work on his own attempt. It’s called rubylang.info and it’s an impressive attempt in such a short time. Does it just splinter efforts or does it continue a proud tradition of reinvention in the Ruby community? We’ll see!
Custom mail delivery method in Rails 3.*
Rails 3 allows you to specify a custom mail delivery method in addition to the default options smtp, sendmail, test and file. In this post, I show you how to use this feature.
“Yehuda was right: Steak is a scam”
The slides from my lightning talk at Conferencia Rails 2011 fully annotated for your personal enjoyment
Ruby Midwest - Speakers Announced!
Two days. One track. November 4-5 in Kansas City, MO. - $189 Keynotes from Uncle Bob Martin and Andy Hunt but many other speakers too.. see first comment.
Create a Like or +1 Button with Make_Flaggable
Eric Berry put together a terrific demonstration on how to create a like or +1 button with make_flaggable. Check it out if you’re looking to duplicate the functionality that currently exists in Google+.
Think Globally, Stage Locally
I wanted a staging environment that I could run locally to test my full Linux application stack. In this post, I show you how to setup a Vagrant VM and deploy your Rails app to it with Capistrano.