June 2007

irb and rails console tab completion

By chance, irb and ruby-console tab completion discovery. Made my day!irbirb(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. irb is incredibly underappreciated, it has a bunch of nice things...

Pyramids, Application. An Analogy

Working on maintaining and modifying a five year-old Java application, I came to realize there’s a strong relation between legacy and pyramids. Here’s an analogy: | Pyramids are HUGE monuments, built for the sole purpose of being a tomb to one person. Although the project tree is HUGE (14000+ files), the purpose of the application is amazingly modest (CRUD...