Extract helper method for extracting symbols from symbol nodes
Pass node, not node.location, to private helper stash_method.
When parsing, recognize Rails scopes.