4 ms·
The rules in this case seem pretty standard to me; public/private methods work the same in controllers as they do in every other object. Rails is just using an
by donw 17y ago
The rules in this case seem pretty standard to me; public/private methods work the same in controllers as they do in every other object. Rails is just using an existing mechanism that's been around in OO languages for a very, very long time, rather than implementing something else that does the exact same thing.
- bensummers 17y agoIt is reusing a standard OO mechanism, just not as well as it could. If all the Rails security tutorials feel they have to mention this point, then it's an indication that the design isn't quite right.