moved version_association to active_record framework