Class: Crudable::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Crudable::Generators::InstallGenerator
- Defined in:
- lib/generators/crudable/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#postinstall ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/generators/crudable/install/install_generator.rb', line 8 def postinstall updated = ::Crudable::Rails::Installer.postinstall if updated.any? say "Set raise_on_missing_callback_actions to true in: #{updated.join(', ')}", :green else say 'No environment files with raise_on_missing_callback_actions = false were found.', :yellow end end |