I originally used a constant for the error, but Rails gave an error. I can generate a SQL LIKE statement %Foreman::Model% but this syntax might only be for postgres, not sure.