Depend on activerecord, activemodel greater than 4.0.0rc1