What's the justification for doing this?
I just ran across this code while resolving some merge conflicts and am
having a tough time understanding the justification for doing something
like this.
Can anyone tell me if there is a good reason for having a method defined
to access the model explicitly.
private
def message_class
CustomerMessage
end
def lookup_message_class
CustomerMessage
end
hopefully i am just dumb and missing something because this is done all
over the place by a coworker :/
No comments:
Post a Comment