added byte[] support to ActiveRecord