Class: ActiveLdap::Generators::ModelGenerator — activeldap - ActiveLdap

Class: ActiveLdap::Generators::ModelGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Includes:
ActiveLdap::GetTextSupport
Defined in:
lib/rails/generators/active_ldap/model/model_generator.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) create_model



18
19
20
# File 'lib/rails/generators/active_ldap/model/model_generator.rb', line 18

def create_model
  template 'model_active_ldap.rb', File.join('app/models', class_path, "#{file_name}.rb")
end