Support builder from 2.1 upwards for rails 3.0 compatibility.