joost/phony_rails — pull request #15 by jcoleman (2013-01-23 21:09:12+00:00)
Title: Override the default loading of the "countries" gem so that the Country class isn't unqualified.

Since phony_rails already uses the qualified class, there's no reason to blow away a Country class (which could easily be a common model name) in the app requiring this gem.

Incidentally, there was a test for this, but it only tested based on how PhonyRails loads the Countries gem when PhonyRails is required directly. The gemspec caused automatic loading of the default gem autoload for countries, which populated a Country class in the global namespace.