How do I list all the methods that a particular object has access to?
I have a @current_user object, defined in the application controller:
@current_user
Suppose User has_many Posts:
u = User.first u.posts.methods u.posts.methods - Object.methods