I have a fairly large ruby codebase and I am trying to find a method, current_user_has_ownership?. When I grep the codebase it is used in multiple places, but there is no definition found. When I look at the method with pry, the information I get is fairly unhelpful. It shows that the method is in this module:
#<Module:0x007f9f84550200>#methods:
Just a memory location. I assume that rails is creating the method for me, but how do I find what it is? I don't even know what it is called when rails does this for you, so I can't figure out what to google. What is going on and where can I find some documentation on how it works?
current_user_