Updated ActiveRecord dependency to Rails 4.