fix serializated column support on postgresql on rails 4.0 and 4.1