relax version requirements to allow for ActiveRecord 4