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.
Quick and Dirty URL Validation
Quick and Dirty URL Validation for Rails apps. Perhaps this will work for you?
Bringing Merb's provides/display into Rails 2.2 (and Rails 2.3)
DHH posted about this a couple weeks ago and I’m bringing the subject back with two subtle differences: I’m aiming on Rails 2.2 (not Rails 3) and I will actually show you the code! Check it out here.
Reloading Rails metal applications
In Rails development mode, metal applications aren’t reloaded between request cycles. Introducing a simple monkey patch to work around that.
Don't use Ruby's debugger with Rails?
I just wrote a quick post about how to use save time by using debugger with rails after watching people use logger debugging too many times.
Guide to Rails Metal
Just found a pretty cool introduction to Rails Metal and how to use it in a practical manner, including accessing the request info, the session, view helpers, and so on.
irb_rocket 0.1.1 Released
irb_rocket - An irb plugin that makes irb #=> result style.
Lockdown 0.8.0 Released
Lockdown, an authentication/authorization system for Rails 2.x, has just released version 0.8.0. Improved DSL for defining permissions in preparation for the model level security coming in version 0.9.0.
RubyKaigi 2009 is open for proposals
The premiere Ruby conference in Japan, RubyKaigi 2009, has been announced and is currently calling for presentation proposals. It is a great chance to reach across borders and get in touch with most of the Ruby dev team and the rest of the Japanese Ruby community!
Radiant CMS 0.7.0 Released
A new stable version of Radiant CMS was released. This version has been developed for almost half a year. It includes a new template. Radiant is now compatible with Ruby 1.8.7, includes Rails 2.1.2. Has several caching tweaks, and enhanced plugin support.
Converting a Rails App to Use DB2
Using sqlite3 may not give your the perfomance you need. This note shows you how to move your data over to db2 from any Rails database.
Ruby documentation as a Mac OS X dictionary
Ruby documentation for Dictionary.app is now available thanks to high demand after publishing Rails dictionary. It allows quick access to full API documentation from Spotlight and other OS X dictionary-enabled applications.
What you'll find in "Ruby Best Practices"
The full chapter listing for my O’Reilly book RBP is now up on my blog. Feedback is welcome!
CsvMapper gets a little more magical
An update to CsvMapper allows your field names to be automatically read from the csv file itself. Stop repeating yourself and import csv to ActiveRecord or just plain old ruby objects faster.
Adhearsion 0.8.1 Released with New Website & Docs
The Adhearsion team released version 0.8.1 of the Ruby-based voice development framework. The new release came with an entirely new website as well as extensive documentation. One of the new features is a component system to allow maximum code reuse. The team also made available the Adhearsion Getting Started Sandbox. This allows developers to start using Adhearsion right away, without having to download and configure a phone system like Asterisk.
Ruby’s Most Underused Keyword
Check out the solutions of some non-conventional problems with Ruby’s Most Underused Keyword.
How to Learn Ruby
I’ve had many aspiring Rubyists ask me how they should learn ruby. I got tired of repeating myself, so I’ve compiled a short list of resources for Ruby beginners. If you have any suggestions to add to the list, please leave me a comment. I’m especially interested in hearing what new Rubyists have found most useful.
sortable - for ActiveRecord
Sort your records in multiple lists with multiple scopes - http://github.com/shuber/sortable
The Truth About Integrating Rails In The Enterprise
A brief but common misconception about the benefits of Rails in the enterprise.
New 13 part scaling Rails free series of screencasts released
Gregg Pollack of Railsenvy announced this morning at acts_as_conference the the first 5 episodes of a 13 part series on scaling Rails.
Rails documentation as a Mac OS X Dictionary
Rails documentation inside Dictionary.app allows quick access to full API documentation from Spotlight and other OS X dictionary-enabled applications. This one is a nice time saver.
LiquidTest - Browser Automation Testing Framework supporting Ruby!
LiquidTest is a tool that will help you to save time by finding defects as they occur, automate testing with real browsers, and integrate with your existing infrastructure. LiquidTest consists of an Eclipse rich client application (and Plug-in) for recording Browser actions in Firefox™ and Internet Explorer™ and outputting succinct and robust test cases in Ruby, Java™ and Groovy™. [more inside]
Make your Rails app 10x faster in development mode
Simply install the rails-dev-boost plugin and stop wasting your time waiting for Rails to reload the whole universe for you :). Now fully compatible with Rails 2.2 and 2.3 (but not anything lower).
Simple shell script for installing Ruby 1.9.1 alongside 1.8
After hearing lots of people asking howto install Ruby 1.9.1 alongside 1.8, I decided to write this really simple shell script to get the ball rolling. It’s hosted as a gist, so feel free to fork and improve upon it.
Any New Ruby on Rails Based CMSs?
I hate Radiant because I can’t use templates off of the filesystem, and after asking numerous times over the past 2 years the developers show no progress towards implementing this. Have any new Rails-based CMSs cropped up recently? RubyFlow, can you show them to me?
Javascript ousted from Rails helpers
Removing inline javascript came up recently on the rails core google group. The consensus is, they’ll be going away in favor for a standard markup microformat that JS libraries can hook into.