Test activerecord ~> 4.0.0 in active_record_40 gemfile

This changes from using '>=' which would install the latest version of
activerecord available at the time of running `bundle install`.