Has anybody stored two same methods in a controller class?


#1

I did.

But it works without error

Lower method works and upper method idle. Name of two methods are same
^^

is this a bug?


#2

That’s because Ruby allows you to redefine methods on the fly, so that
second definition is viewed as just that. A redefinition. The first is
nullified effectively.

RSL