Prepare for Rails 4 compatibility with active_record versioning