Displaying 1 result from an estimated 1 matches for "a_private_method".
2008 Oct 06
2
Filter inheritance
can anyone tell me how before filter can call the private method audit
which from the parent class ?
because the bank controller has a private method called audit, this one
should not be inheritance by VaultController, so how the before_filter
use the private method audit ?
if the child class can use the parent class private method . does it
break encapsulation ? does the private has any sense