Sha256: 732e757134191475500391a325575f29557703f87240ea41b7ba5def772327d8
Contents?: true
Size: 945 Bytes
Versions: 19
Compression:
Stored size: 945 Bytes
Contents
Description: Generates the necessary files to get you up and running with Sorcery gem Examples: rails generate sorcery:install This will generate the core migration file, the initializer file and the 'User' model class. rails generate sorcery:install remember_me reset_password This will generate the migrations files for remember_me and reset_password submodules and will create the initializer file (and add submodules to it), and create the 'User' model class. rails generate sorcery:install --model Person This will generate the core migration file, the initializer and change the model class (in the initializer and migration files) to the class 'Person' (and it's pluralized version, 'people') rails generate sorcery:install http_basic_auth external remember_me --migrations This will generate only the migration files for the specified submodules and will add them to the initializer file.
Version data entries
19 entries across 19 versions & 1 rubygems