Added require 'elasticsearch/model' – Everthing works now