I love Ruby!

ProbablyCory came up with a very clever way to not have our inverse boolean methods look like something Yoda would say.

It’s the BizarroObject class (thank you Seinfeld) and it’s brilliant.

Try that shit in Java!

Finally!

I finally launched The PCS Store’s web site! More features will be available to the public eye when they fill in the content. I don’t like showing people things that are available when they just bring up an error or a blank page. So as they fill in the Handset and Data Card details in the back-end, there will be additional screens and links available. A little about the app:

  • Ruby on Rails
    • RESTful controllers
    • Plugins
      • rspec
      • responds_to_parent
      • geokit
      • attachment_fu
    • Authentication for ‘Team Members’ and ‘Admin’ parts of the application leverages Net::IMAP so everyone can log in with their existing email username and password
  • Icons are from the Crystal Project (I started doing them myself but it was taking too damn long)
  • Info bubbles shamelessly copied from Panic (Transmit rocks!). Tried like hell to get them to be transparent in IE6 but to no avail so far…
  • Layout, logo and background are all me
  • Team Members section allows employees to gain access to important links and documentation
  • Admin section allows company execs to manage links, devices, documents, document categories

Updating to Ruby 1.8.6 on Mac OS X

If you were one of those people who were out somewhere, happened to catch the news that Ruby 1.8.6 was released, rushed home, compiled it, installed it only to get a NSLinkModule() error when doing anything in your Rails apps then this is for you!I feel your pain. It had been so long since I installed 1.8.4 that I forgot the key ingredient! Here’s the trick:Your

./configure

command should be:

./configure --prefix=/usr/local --with-readline-dir=/usr/local --enable-pthread

I won’t get into what this does but in a nutshell, just ‘./configure’ doesn’t work because ruby can’t find the readline libs. So we just give it a nudge in the right direction.Anyway, hope this helps.