Displaying 1 result from an estimated 1 matches for "vaultcontroller".
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 here .because you
can use it from ur child class , why just make it public ?
below is the example from rail api.
Co...