Here's the method: def run_in_transaction? use_transactional_fixtures && !self.class.uses_transaction?(method_name) end
I'm super confused. What is `method_name`? And where does it come from? It's not a local variable. I can find two instances of `def method_name` in the repo and neither seem to be related. If I try to call the method directly and `use_transactional_fixtures` is false I get `NameError: undefined local variable or method `method_name'`. How is this working normally? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.