diff --git a/lib/choices/rails.rb b/lib/choices/rails.rb index 4946c58..a3da34d 100644 --- a/lib/choices/rails.rb +++ b/lib/choices/rails.rb @@ -25,7 +25,7 @@ def from_file(name) end end - def respond_to?(method) + def respond_to?(method, include_private = false) super or method.to_s =~ /=$/ or (method.to_s =~ /\?$/ and @choices.key?($`)) end