Updated, now it should accept activemodel 3.2