Updated ActiveRecord to version 4.0.0