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.
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 -
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.
Speedind up Rails development with Inherited Resources.
Inherited Resources speeds up development by making your controllers inherit all restful actions so you just have to focus on what is important. It makes your controllers more powerful and cleaner at the same time. Check it out on Github or the Wiki or the official blog post.
Hiring For IT: What We’re Doing Wrong & How To Fix It
HR departments for many technology firms tend to be a bit backwards in the way they evaluate potential hires. OpenRain’s hiring strategy–while admittedly skewed towards finding only top tier entrepreneurial people–follows these steps.
Rfactor, Ruby Refactoring for your loved editor
Fabio Kung has written a library for extracting a piece of code to a separate method. Currently supports TextMate, but it should be fairy easy to integrate it with other editors. Take a look at the screencast and read all about it at his blog!
Updates to SimplestAuth for Rails Authentication
After announcing our simple Rails authentication plugin a couple weeks ago, here are some updates to simplest_auth.
Rails gem download numbers (from RubyForge)
Here are some stats around Rails gem download numbers; 63K installs for Rails 2.2.2 in January 2009 alone. Good times.