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.
Matz I know you're going to hate me but this is funny...
A funny picture about Matz.
JRuby 1.2.0 Released
Thomas Enebo has announced the release of JRuby 1.2.0. Lots of performance increases and support improvements, as well as significantly improved Ruby 1.9 support. Check it out - it’s super fast (faster than 1.9.1 with my basic benchmarks).
Hpricot 0.7 Released
Hpricot, a very flexible HTML and XML parser, has just been updated to version 0.7. From a user’s point of view, this version brings mostly speed improvements and bug fixes. Have a look at the announcement for more details, and why Hpricot still is being updated (after the release of Nokogiri).
RubyKaigi 2009 (Japan) CFP deadline extended to March 26th
The call for proposals for RubyKaigi 2009 has been extended to Thursday, March 26th. (Also announced on ruby-talk) - If you’re interested in presenting on any topic related to ruby to a receptive audience in Japan, please submit the title and a summary of your talk to 2009@rubykaigi,org, along with your name and contact details. Talks may be in English or Japanese (perhaps both?), and Ruby.
Radiant TinyMCE - Paperclipped Extension
Aissac released today another Radiant CMS Extension which brings the TinyMCE WYSIWYG editor in your Radiant page as a filter. Radiant Tiny-Paper Extension also provides Image and File Browsers to help you manage your Paperclipped uploaded assets. Check out the repository on Github and the official extension page.
Do you read the Rubyist and Rails Magazine?
There are now two magazines dedicated entirely to the subject of Ruby and Ruby on Rails, both of which are free of charge if you’re happy with the electronic version (a PDF).
rbiphonetest critical bug fix: supports 2+ dependent models/classes
rbiphonetest had a very nasty/critical bug where you couldn’t develop/test Objective-C classes that were dependent upon each other. Individual projects that used rbiphonetest solved this problem, but only now has the solution be refactored back into the rbiphonetest generator. Yay! The internals of the rbiphonetest gem are now covered by cucumber scenarios too so it will be much easier to add features with confidence. ALSO: Ben Scofield wrote an article about rbiphonetest in edition 2 of The Rubyist (free in PDF form)
Install Integrity with deprec-2.0.8
deprec now includes recipes to install and configure Integrity, the continuous integration app. Passenger config and authentication is setup for you. Details here.
Larch syncs messages from one IMAP server to another
Larch is a new Ruby application that syncs messages from one IMAP server to another quickly and safely. It’s smart enough not to copy messages that already exist on the destination and robust enough to deal with ornery or misbehaving servers. Larch is particularly well-suited for copying email to, from, or between Gmail accounts.
newgem's install_cucumber generator now uses same structure as Rails' cucumber generator
NewGem’s install_cucumber generator is now using the same structure as Rails’ cucumber generator: [more inside]
Live Validations
Live Validations for rails proxies active record validations to javascript live validation libraries, for easy mode automagical (web 2.0 cloudbased social) live validations.
Ruby Basics Videos
Two screencasts for beginners on String Delimiters (6:26) and Loops (5:41).
Issue 2 of the Rubyist Released!
The Rubyist was first announced and released in Summer 08, and this follow up issue is bigger, better… and free! Featuring content from Yehuda Katz, Eric Hodel and Scott Chacon, as well as interviews with Ruby luminaries, like DHH, Obie Fernandez and RubyFlow’s own Peter Cooper. Download your free copy today, and be sure to let us know what you think!
Radiant Member Extension
Another extension for Radiant CMS by Aissac: Radiant Member Extension. Provides restricted access to Radiant pages under a certain node, requiring member login, members management from Radiant Admin (no member self-registration), bulk members import from CSV files, radius tags, cookie-based flash and some other features. Check out the repository on Github and the official extension page.
How you can contribute to Phusion Passenger without coding skills
Help us confirm possibly outdated issues. :)
Searchable Rails API Doc
I’ve been using rails and rails’ doc for quite a while now. And I always missed the search feature in docs. IMHO browser’s search in page is not the best solution. So I’ve spent this weekend trying to improve things a bit. Demo and code on github (custom rdoc generator and template).
CLIK: Ruby app helping developing countries manage climate disasters
Climate Information ToolKit or CLIK, built by scientists for scientists using Ruby is an online webservice that enables forecasters, disaster planners and researchers anywhere on earth to create customised climate predictions. CLIK is released as open source software. The project pages are at http://210.98.49.69:8001/projects/show/clik
Rufus-Lua: Using Lua in Ruby
rufus-lua embeds Lua inside of a Ruby application, via Ruby FFI.
Twibot: Micro-framework for writing Twitter bots, inspired by Sinatra
Twibot makes writing Twitter bots in Ruby easy and fun! Twibot offers a Sinatra inspired DSL that will allow you to write a working bot with only four lines of code.
Updated: Unattended Passenger / Ruby Enterprise Installation on Ubuntu 8
Updated my unattended Rails stack install (bash)script to use the lastest versions of Passenger (2.1.2) and Ruby Enterprise. http://gist.github.com/37213
Kicker: A simple OS X CLI tool which uses FSEvents to run a given shell command.
Kicker is a tool which allows you to watch a directory or file and execute a command whenever there are changes to the dir/file being watched. It has support for Growl as well. Example: $ kicker -e "rake guides" --growl-command "open -a Safari guides/output/nested_model_forms.html" guides/source/nested_model_forms.textile
How to use Google Translate from command line (ruby gem)
Google Translate gem can help you in translating from one language to another right from the command line.
Alternative Block Execution on Empty Enumerable
paul at :pauls.methods posted how he deals with empty block sets. I really like how expressive this is with erb. “each do this end.else do that end”.
Ruby blogs actually worth reading (RE: RubyLearning's 50+ Ruby Related Blogs)
I’ve just published a (work in progress) list of Ruby-related blogs actually worth reading/RSSing (in my opinion) in reaction to recent link-list posted on RubyLearning.