Removed dependency of activerecord 3.0.0