updated to the latest versions of activerecord and activesupport
ensure the code works with rails 4.0beta1