Method: Roles::Generators::ConfigGenerator#configure_roles

Defined in:
lib/generators/roles/config/config_generator.rb

#configure_rolesObject



27
28
29
30
31
32
33
34
35
36
37
38
39
40
# File 'lib/generators/roles/config/config_generator.rb', line 27

def configure_roles
  logit!

  # make the artifactor model methods behave according to selected orm! - this is a macro
  set_orm      	

  roles_gems if gems?

  # run the orm specific Roles generator
  create_roles

  # setup User to use the roles registered with Cream
  set_valid_roles_cream                
end