changed activemodel dependency to 3.1.0