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.
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.
Help us find which gems work with Ruby 1.9
isitruby19.com We’re all dead excited about Ruby 1.9 and can’t wait to get it running in production. So the Brightbox team put together a site to help track the effort to find out which gems work and which don’t. Please help us by picking a gem and finding out isitruby19?
Load any path as a gem with LocalGem
Introducing a gem to load/require any path as you would a gem. Useful for loading the current version of one of your gems or those gem-less cloned github repositories.
Launching dbconsole with column and header options for sqlite3
Rails 2.3 adds the ability to set several sqlite3 options with dbconsole flags.
Ruby 1.9 Internals: Ordered Hash
A look at the internals of the Ruby 1.9 Hash: how it works, how it compares to 1.8, and alternatives.
Migrating to Ruby 1.9 Slide Show (S6/S9 Version)
To celebrate the Ruby 1.9.1 release and demo slideshow-gem-generated all-in-one-web-page presentations (w/ three stylesheets and modes, that is, projection, outline and print) I adapted Bruce Williams’s “Migrating to Ruby 1.9” original PDF slide deck from the Scotland on Rails, Edinburgh, April 2008 talk. S9/S6 tip: Use the T key to toggle between outline and projection/presentation mode. More info about S9/S6 and latest updates such as using your own slide show template packages @ slideshow.rubyforge.org.
Ruby Swarms: Visualizing Rails
Visualize the commits to Rails as a code swarm.
Are you using SASS? If not, you should be.
If you haven’t used SASS to style your web applications, you’re missing out.
5 Quick Tips to Make Your Rails App Faster
5 Quick Tips to make your Rails App Faster describes 5 (surprise!) things that can be almost indiscriminately applied to your application to speed things up.
Deploying a Rails app war step by step
This post describes the few steps needed to package a Rails app into a war and deploy it on a Java application server, in this case JOnAS. This is actually pretty straightforward, no reason for the Java production environments to refuse our nice Rails app anymore.
Easy client-caching with RestClient and Rack-Cache (60 LOC)
rack-cache is most used to cache responses given by an application backend. If you consider that your backend is the web, then rack-cache becomes a powerful tool for client-caching. Look at the Gist
A Title Case Gem for Ruby
Titleizer is a gem that adds String#titleize (aliased as String#titlecase) to perform smart capitalisation of titles.
Quite Useful NetBeans Rails Tips
Some tips for using NetBeans for rails development.
Stop picking on alias_method_chain
Stop picking on alias_method_chain, it’s not as evil as you may think.
Mysql-ruby 2.8.1 for Ruby 1.9.1 and it's Gems package.
Masahiro Tomita released Mysql-ruby 2.8.1 which supports Ruby 1.9.1, and I create Gem package. You can install by ‘gem install kwatch-ruby-mysql –source=http://gems.github.com/’.
Argument Fun with Ruby
Using a module for boxing array parameters of a method to return an array of the results: http://jthoenes.bergischweb.de/2009/02/03/argument-fun-with-ruby/
The Crazy Knob: Ruby Arduino Controlling the Archaeopteryx Probabilistic Step Sequencer
A write up of the first steps towards building a Ruby Arduino Controller for the Archaeopteryx Probabilistic Step Sequencer that Giles Bowkett deomnstrated at RubyFringe.
Feedzirra - A Ruby feed library built for speed
I’ve released the initial version of Feedzirra, a library for fetching and parsing Atom and RSS feeds.
Unlink or Rename file on Windows
Stupid trick to delete a file (or rename) on Windows when it’s telling you “Permission denied”.
Liquid email templates in Rails
A tutorial that illustrates how you can use the simple and safe templating language Liquid to allow users to edit your Rails email templates (or any other template). Liquid email templates in Rails.