require activemodel instead of activerecord