Rubocop: checking elasticsearch glue model code