Category Archives: Programming

Getting started with Rails 3

Installation first lets get a copy of rails 3 going # make sure you have gem bundler and rack installed: sudo gem install bundler rack # clone of edge rails git clone git://github.com/rails/rails.git # generate a new app: ruby rails/railties/bin/rails … Continue reading

Posted in Programming, Ruby | Tagged | Leave a comment

Behavior Driven Development

Recently I have been trying to get more involved with agile process and BDD, while lots of documentation exists on some of the preferred frameworks such as Rspec and Cucumber, it can be very difficult to determine what may be … Continue reading

Posted in Programming | Tagged , , , , | Leave a comment

Autotest on OSX

Download the required gems # required for autotest and rails sudo gem install autotest autotest-rails # use osx 10.5 fsevent library instead of traversing the filesystem for changes (lowers CPU usage) sudo gem install autotest-fsevent # gives us pretty red, … Continue reading

Posted in Programming, Ruby | 1 Comment

Flex datagrid double click

The flex datagrid supports an event handler called itemDoubleClick , however one little gotcha is you also need to set doubleClickEnabled to true in order for this event to be properly fired. <mx :Script> < ![CDATA[ protected var dp:ArrayCollection = … Continue reading

Posted in Flex | Tagged , | Leave a comment

Ruby 1.9.2 on Snow Leopard

A quick howto on setting up 64bit Ruby w/ MySQL gem under RVM (Ruby Version Manager) Continue reading

Posted in Programming, Ruby | Tagged , , , , | 2 Comments