Wait... You've got this:
```ruby
if method.to_s.match search_conditions
  input_wrapping do
    label_html <<
    builder.text_field(input_name_simple, input_html_options) 
  end
  # ...

def input_name_simple
  method.to_s.match(search_conditions) ? method : "#{method}_contains"
end
```
Since the `method` has already met the regular expression, there's no need to check a second time. It would be simpler to do this:
```ruby
if method.to_s.match search_conditions
  input_wrapping do
    label_html <<
    builder.text_field(method, input_html_options) 
  end
  # ...
```