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 VM Shootout on Rock, Paper & Scissors
I’ve been messing with RubyRPS (Rock, paper scissors) lately, it’s a ton of fun! I thought it might be cool to benchmark the progression of Rubinius with RPS, and that little experiment turned into a full blown ruby interpreter shootout
Juggernaut 0.5.6 Update
Juggernaut 0.5.6 (a “push server for Ruby on Rails”) was just released, and taelor over at SlightlyCoded has wrote about whats new with Juggernaut 0.5.6 Juggernaut really seems to be gaining some steam, so check it out!
Announcing MonetDB adapter for ActiveRecord ! adapter for Rails
MonetDB is a high-performance column-store database management system with automatic index management, flexible optimizer infrastructure, and programmable backend functionality. It comes with functional complete SQL- and XQuery- frontends. I’ve built an ActiveRecord adapter for MonetDB that I would like you to try (any help in further developing and maintaining it is much appreciated).
Localizing Rails tutorial
Trevor Turk’s Simple Localiziation in Rails 2.2 showed some basics of localizing parts of your Rails applications. The article Localizing Rails could be seen as a more in-depth follow-up on Trevor’s article. It includes a demo application that shows of most of the localization features that are built right into Rails core at the moment.
Design doc to RSpec with Rake
A small Rakefile snippet takes an existing design document and makes all the necessary RSpec files. Enjoy!
Ruby Hoedown Day 1 Summary
I posted a summary of the first day of the Ruby Hoedown. Check it out if you like to read awesome things or don’t.
Rails TakeFive Interview featuring David Flanagan and Adam Keys
FiveRuns has posted the latest in the Rails TakeFive series, this week featuring programmer/author David Flanagan in an interview by FiveRuns developer Adam Keys. Check it out here.
Deploy To Morph In Eleven Easy Steps
Get your staging site up on Morph quick and for free. Here’s an example.
Create a Facebook Desktop Script Using Ruby in 3 Easy Steps
5-Minute Quick Start Guide for Facebooker - Create a Facebook Desktop Script Using Ruby in 3 Easy Steps (2nd Edition)
ar-extensions
ar-extensions 0.8.0 is finally released! ar-extensions adds some nice features to your ActiveRecord models, namely mass inserts and some other nice stuff (converting models and arrays to CSV format, working with temporary tables, control foreign keys). All known bugs and compatibility issues with Rails 2.1.0 have been resolved. 0.8.0 does not work with the latest Rails edge due to some additional features on edge that weren’t in 2.1.0 0.8.0 should not be used with Rails 2.0.2 or below
Bashfully Yours, Migration Editing
I wrote a quick shell script to automatically open migrations as I generate them. (Yes, simple, but a time-saver when the alternative is tab-completion or copy-pasta.)
"Rails like development for IronRuby and WPF/Silverlight"
interesting article on InfoQ about IronNails: [more inside]
New plugin: localized_dates
I just released my localized_dates plugin that is based on Rails’ new i18n features and helps localizing date and time formats. Check out the announcement and the GitHub project including a massive readme.
Great TextMate tip: Speeding up Cmd-T
a great tip from Dr Nic on how to speed up Cmd-T in TextMate.
Switching Between Rails Versions
FiveRuns quick tip: frictionless switching between different Rails versions. Check it out here.
How-To Downgrade Rails to Older Version
Rails Tip of the Day: Use Magic Version Tag to “Downgrade” Rails to Older Version When Generating New Project
Time to git collaborating with git_remote_branch
I just released version 0.2.6 of git_remote_branch. It’s the same tool, plus new functionalities and a bunch of tests to back it up a bit. The basic idea for git_remote_branch is to trivialize interaction with remote branches.
How to set up Restful Authentication and acts_as_state_machine with Rails 2.1
The Faking Fanstastic blog has posted a tutorial on setting up Restful Authentication and acts_as_state_machine to work together. The blog addresses bugs encountered with the May 2008 release of RA, it demonstrates the new generators, and includes a quick front end set up to allow you to enjoy the fruits of you labor.
Juggernaut Part 2 - Connected Users List
In the second installment about Juggernaut, taelor of SlightlyCoded talks about how to Implement a Connected Users List for a Juggernaut Chat Room.
oembed_links to simplify oembed use
We’ve developed a gem called oembed_links to help ease oembed usage in a Rails app ( and elsewhere ). libxml_ruby, hpricot and rexml support, as well as Haml, Erubis and ERB template output support. (oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly.)
Mack 0.6.1 Released
Mack 0.6.1.1 has been released. The release sports 38 new features and bug fixes. Included amongst the features are notifiers (email), RJS (jQuery and Prototype support), DataMapper 0.9.3 support, page caching, and a data factory for creating test data.
Get to your admin area during maintenance
Get to your admin area during maintenance - I recently had to modify nginx configuration to allow access to an admin url while an application was downed using cap deploy:web:disable. There’s a short write up here.
Juggernaut for the Win?
Juggernaut for the Win? - SlightlyCoded talks about The Juggernaut, a Push Server for Ruby on Rails. Techniques seen in this post were used to help create ShovelChat, a Web Chat Application for Digg Users. Part two will cover how to do a User list that gets updated a la push.