>
> What would happened if you never use private methods? Will it be some
> security issue (and if yes, I'd like to see an example if it is
> possible)
OK, here's a quick example. Assuming you have the default routing rules in
place so it handles /:controller/:action
class LoginsController < Ap
Hello
I was reviewing some rails code lately and I see that in some cases
they use private methods (especially in application controller
methods). I understand that it is considered a good practice since the
methods aren't used anywhere else outside of application controller,
but my question is:
2 matches
Mail list logo