make activerecord dependency greater or equal to rails 3