I downloaded a plugin and was looking over the code when I came across
ActiveRecord::Base.send. I noticed that several tutorials stated that
you just call the method to mixin your new plugin class. Curious as to
what the actual defintion of the “send” method was, I looked at the
api and found no mention of it.
How does one usually go about searching for the source of the method?
It’s not the first method I’ve come across where it wasn’t listed in
the docs so ideally I would like to know what steps you go through to
find the definition of something so the next time I can figure it out