Add Swiftype indexing to models in a Ruby on Rails application with a single method.