Ah, yeah my bad. I wrote my example based on the work I've done in #1928.

In that case, put it at the very start of the method like this:
```ruby
def default_input_type(method, options = {})
  return :string if method =~ /(contains|starts_with|ends_with)\z/
  if (column = column_for(method))
    # ...
```