Declare Rails dependency as 3.1 or greater
Use correct load method in spec by detecting Active Record version