Skip to content


irb and rails console tab completion

By chance, irb and ruby-console tab completion discovery. Made my day!
irb
irb(main)> t = Time.new
=> ...
irb(main)> t.m #[tab]
t.mday t.method t.methods t.min t.mon t.month

Rails Console
>> Feed.fi #[tab]
Feed.find
Feed.find_all
Feed.find_all_with_deprecation
Feed.find_all_without_deprecation

Win XP, ruby 1.8.5 and rails 1.2.2. Google away if not on your machine.

Posted in Uncategorized.

One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. irb is incredibly underappreciated, it has a bunch of nice things that people don’t know, like sub-irbs, lots of configuration, syntax-highlightin extensions.. :)

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.