set activemodel version to 4