Have a question regarding a method being used in Factory Girl’s generator.rb file.
Here is the Snippet of Code…
What is the rails_option method performing? Why is it being called as if it were a hash?
def test_framework rails_options[:test_framework] end def factory_girl_disabled? rails_options[:factory_girl] == false end def rails_options @generators.options[:rails] end