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
You can do
current_user.methods
For better listing
puts "\n\current_user.methods : "+ current_user.methods.sort.join("\n").to_s+"\n\n"