update rails
activerecord 4.0.1 supports root arrays in pg json