Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

updated README

  • Loading branch information...
commit 99880076880aae5dd05bb73673535f353a840f0e 1 parent 2d9062d
Noam Ben Ari NoamB authored

Showing 1 changed file with 18 additions and 1 deletion. Show diff stats Hide diff stats

  1. +18 1 README.rdoc
19 README.rdoc
Source Rendered
@@ -75,8 +75,25 @@ For example:
75 75
76 76 The configuration options vary with the submodules you've chosen to use, so check the documentation or the wiki tutorials regarding the specific submodule.
77 77
78   -Also check the migrations in the example app to see what database fields are expected.
  78 +For your convenience, Sorcery includes a migrations generator for Rails, which can be used like so:
79 79
  80 + rails g sorcery_migration [list of submodules]
  81 +
  82 +For example, for only the core functionality use:
  83 +
  84 + rails g sorcery_migration core
  85 +
  86 +To generate migrations for both the core AND 'remember_me' submodule:
  87 +
  88 + rails g sorcery_migration core remember_me
  89 +
  90 +These migrations use the default fields. You can choose to use these migrations or make your own tables and fields. Sorcery tries not to impose a database structure and naming scheme on your application.
  91 +
  92 +
  93 +== Usage
  94 +
  95 +
  96 +Please see the tutorials in the github wiki.
80 97
81 98
82 99 == Full Features List by module:

0 comments on commit 9988007

Please sign in to comment.
Something went wrong with that request. Please try again.