Resolve dependencies conflicts with activerecord v 3.2+