Archive for the ‘Uncategorized’ Category

Rails In-memory SQLite3 schema-loading for Cucumber

Monday, August 30th, 2010

This is a quick note to myself, ask me if you’d like to find out more.

You’d like to load your db schema everytime you run cucumber, here’s how.

Add this in env.rb:

Before do
  ActiveRecord::Base.establish_connection(ActiveRecord::Base.configurations['test'])
  ActiveRecord::Schema.verbose = false
  load "#{RAILS_ROOT}/db/schema.rb"
end

Freshlog now supports Github!

Thursday, November 12th, 2009

C34d4acd591aa96f173d7d82324e4a5d

Nicely attached in Github:

413dbbf1829ac0d68c292e94aea7ebde

Comment on existing Github issues:

B6a9e0a37eb3e85f279d39e18e06e987

and have them nicely show up too:

7a09c77abfda7dfdf77c599ed155fff0

Check it out at http://freshlog.com

Enjoy! :)

Amazing Commercial

Thursday, November 20th, 2008

My hair literally stood on its end, towards the end. :p

Singapore Judge Quotes Ecclesiastes

Thursday, July 10th, 2008

Photos from Alvin Lai

It’s not so amazing that a Christian judge quotes the Bible! :)

Bo Hua

Thursday, July 10th, 2008

Photos from Alvin Lai

I think our Hokkien speaking friends would crack up at this :)