Removing dependency constraint to activerecord 3.0