Flowdock
method

create_module_file

Importance_0
v3.2.13 - Show latest stable - 0 notes - Class: ActiveRecord::Generators::ModelGenerator
create_module_file() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/rails/generators/active_record/model/model_generator.rb, line 24
      def create_module_file
        return if regular_class_path.empty?
        template 'module.rb', File.join('app/models', "#{class_path.join('/')}.rb") if behavior == :invoke
      end
Register or log in to add new notes.