This project is archived and is in readonly mode.
models' respond_to? does not honor private
-
Gaius Centus Novus
that patch doesn't honor the parameter include_priv. Perhaps the following would be even better?
def respond_to?(method, include_priv = false) return true if super return include_priv if private_methods.include?(method_name) ... end -
Gaius Centus Novus
(added diff representing previous comment)
-
Pratik
- Assigned user set to Pratik
- State changed from new to wontfix
Is this still a problem ? Also, this is a bit tricky. I think it's worth discussing in the core list.
Could you please upload a patch against latest edge ? This one doesn't apply any longer.
I'll reopen once we have these issues handled.
Thanks.
-
Pratik
- State changed from wontfix to incomplete
-
Prem Sichanugrist (sikachu)
- State changed from incomplete to stale
