Added missing external_id for Rails