changed activemodel dependency from < 4.1 to < 4.2 - untested