When you enter an existing project, you will need to check what methods each Class has.
At that time, I would like to describe below how I am confirming.
This time, I would like to explain using Rails’ Solidus gem.
Enter the console with.
Therefore, as described above, the object is assigned to an arbitrary character.
(Spree :: Taxon is an object)
Execute. By executing it, the method that the object has is displayed.
Then, only the method related to product can be obtained.
By using grep as described above, you can narrow down the search results and search, so I think that there are many opportunities to use it.
As mentioned above, by setting method (method name) .source_location,
You can also find out in which file the method is located.