Initial Rails App with working elasticsearch function