Sha256: 36985c8f5e5810550cf2f68c7370b4fe8507d1c3a5ba4abc7502ff97b1fc1a01
Contents?: true
Size: 948 Bytes
Versions: 11
Compression:
Stored size: 948 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 --only-submodules This will generate only the migration files for the specified submodules and will add them to the initializer file.
Version data entries
11 entries across 11 versions & 1 rubygems