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.
Expurrel: a small gem that decodes short urls into long urls
I just launched Expurrel, a small gem to decode short urls into long ones. Supports about 200 short url providers. Read more about Expurrel here.
Fetching RSS Feeds With Ruby From Behind A Proxy
I was trying to fetch some RSS feeds with Ruby the other day. I just needed something quick to validate a couple of things I was trying out with Rails. However it seems that the Ruby ecosystem has this natural hatred for corporate proxies, it’s come to bite me time and time again. But I wasn’t giving up without a fight, so lets see what we can do about our proxy problems and fetch some feeds.
Inspectinator -- A parser for ruby inspect strings
Inspectinator – an online parser for ruby/rails #inspect strings. Still playing around with the parsing a bit, but should be mostly working. More details/feedback
Remote thumbnails with Heroku and Imagery
New blog post about creating thumbnails remotely for Harmony CMS, check it out here: http://lucidcode.co.nz/blog/archives/2010/02/09/remote-thumbnails-with-heroku-and-imagery/
Officer - Distributed Lock Server (Ruby & EventMachine)
I just launched Officer. It is a distributed lock server coded in Ruby and Eventmachine. It is useful for synchronizing processes across multiple servers.
Avoiding Rails 3 Dependency Hell With RVM
If you want/need to have both, Rails 3 and Rails 2.3, installed in parallel on your system you might want to read the latest blog post over on the railway.at blog to find out how you can avoid running into dependency hell by using Ruby Version Manager (rvm).
Monitoring file changes + Growl notifications
A solution to monitor file changes and getting growl notifications. With bits of Duby, too.
Deploying a Rails app in 10 minutes with Moonshine
Here’s a little talk I gave at SD Ruby about provisioning a bare server and deploying your Rails app with Moonshine in about 10 minutes. Video: http://jarinheit.com/a-talk-i-gave-at-sd-ruby-deploying-rails-apps … Slides: http://slideshare.net/jarinudom/deploying-rails-applications-with-moonshine … SD Ruby: http://sdruby.com
Got any ideas or suggestions for RubyFlow?
I’m going to be doing a little extra development on RubyFlow soon, so I want to get a feel for what ideas and suggestions you all have for it. I can’t promise anything but all ideas will be read and appreciated - just leave a comment here :-) Even if it’s a small design tweak or “leave it alone”, go for it!
Javascript + DOM in your ruby
The day has finally arrived where you can run a browser-less javascript + DOM environment from within Ruby. Harmony offers a convenient DSL that allows you to get started simply and easily. There is even a Rails plugin (holygrail) for functional tests. You can now leverage the power of the command line to do with JS what once required a browser.
/Reg/ against your machine
Pleased to report the grand release of a small command-line tool, regex, which makes for some pretty dirt-simple utilization of Ruby’s regular expression engine via the command shell. It can do single or repeat matches and output can be in plain text, YAML or JSON formats. Still pretty fresh off the block, but it’ll beef up in capabilities over time.
Happy Birthday Devise
Devise (a full authentication stack for Rails) reaches 1.0 after four months since its first release! Carlos describes in this post all features that were added along the way: authentication, HTTP Basic authentication, token authentication, registration, analytics, timeout, account locking, account confirmation, forgot password and many others, thanks to Devise modular architecture which allows you to pick just what you want.
Kansas City Ruby User Group presentation: Kyle Ginivan on Progressive Enhancement
Kansas City Ruby User Group’s February presentation by Kyle Ginivan on progressive enhancement, a strategy to make your webpages accessible and cross-device/platform.
Ruby on Rails Example for Tropo Web API without port forwarding using Tunnlr
Zhao Lu (aka @zlu) has shared a tutorial he has done using Ruby on Rails and the recently released Tropo Web API. The tutorial shows how to add, or build, the Tropo features to your Rails application in 15 minutes using REST/JSON API. All of this deployed to Heroku for easy application deployment. Then he goes on to show how to use Tunnlr with Rails to punch through firewalls without port forwarding…
Monitoring Delayed Job with Bluepill and Capistrano
Hugo Baraúna from PlataformaTec shows on this post how to get Bluepill (an alternative to God) monitoring your Delayed Job process deployed with Capistrano.
In-memory CouchDB implementation for speeding up your tests
We are using CouchDB as our main datastore and with our growing test suite, I was looking for a way to speed it up. I wanted to make the tests faster without introducing mocks everywhere or having to change the already written tests. What I ended up doing is writing an in-memory CouchDB implementation in Ruby: RockingChair. It is basically just a big hash with a CouchRest HTTPAdapter. Apart from the simple document API (store, retrieve, and delete object) it also supports CouchPotato and SimplyStored views. Checkout RockingChair on github.
Synchronizing Core Data With Rails (3.0.0.pre)
Lessons learned from building HomeMarks native iPhone application to synchronize Core Data with a RESTful backend built using rails 3.0.0.pre. This covers a previous design methodology called the AJAX head pattern which decouples rails applications from the views they present which allowed an easy API foundation for the iPhone application and data sync methods.
Easy version management for Rails apps using VersionMaster and Capistrano
VersionMaster - a plugin to manage version numbers (eg. “v1.0.8” etc) for Rails apps and having it automatically update whenever a new release is deployed using Capistrano.
EuRuKo 2010 calls for speakers
EuRuKo (this year in Krakow, Poland, on weekend 29-30th May) just started a call for speakers. Check out the official website and submit your talk proposal. Or, at the very least, mark your calendar and get ready for opening the registration. In order to stay up-to-date make sure you somehow follow the official EuRuKo Twitter.
Rubytu.be now indexing 500+ Ruby related videos and screencasts
After launching Rubytu.be a short 8 months ago, it’s now indexing over 500 videos, covering almost every topic a Rubyist could need. Thank you to the community for your contributions! I’m also opening up to some advertising. Please feel free to e-mail me, rates are cheap and space is available on the homepage and in the RSS feed!
Getting familiar with Rails 3
I tried to upgrade my ongoing development to Rails 3. We still have issues with this, but it’s promising. Here’re my experiences so far.
Announcing Ripple
Introducing Ripple, my Ruby library for Riak, Basho Technologies’ distributed database. gem install ripple to get started!
Bet you never thought...
So our intern just started writing some Factories for some test cases. This is what he came up with.
Quick and easy Static Pages in Rails
A quick guide showing you how to add common static pages to a Rails app in 60 seconds or less