Archive for May, 2009

DB Adapter specific code in migrations

Monday, May 25th, 2009

adapter = User.connection.instance_variable_get(“@config”)[:adapter]

if adapter == “jdbc” # Oracle

# …

elsif adapter == “postgresql” # Postgres

# …

end

NZ on Screen wins Best Entertainment Website

Thursday, May 21st, 2009

NZ on Screen won the Best Entertainment Website award at the 2009 Qantas Media Awards.