Open asgerb opened 3 years ago
As Thor automatically makes all public methods of the generator into commands, mongoid projects, which don't have ActiveRecord defined, get the following error when running the install generator:
ActiveRecord
install
'requires_version_tag?': uninitialized constant AfterParty::Generators::InstallGenerator::ActiveRecord (NameError)
It does create the initializer, so nothing is really broken, but it's confusing and feels like a bug 🙂
As Thor automatically makes all public methods of the generator into commands, mongoid projects, which don't have
ActiveRecord
defined, get the following error when running theinstall
generator:'requires_version_tag?': uninitialized constant AfterParty::Generators::InstallGenerator::ActiveRecord (NameError)
It does create the initializer, so nothing is really broken, but it's confusing and feels like a bug 🙂