Browse files

Updating the readme to make the last step of integrating this into a …

…Rails app more apparent
  • Loading branch information...
Daniel Rice
Daniel Rice committed Sep 27, 2011
1 parent 51a9b49 commit e626956506c6f55421550aa994427fc6be359689
Showing with 5 additions and 0 deletions.
  1. +5 −0 README.rdoc
@@ -119,7 +119,12 @@ To generate migrations for both the core AND 'remember_me' submodule:
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.
+Finally, add sorcery to the the model that you will use for authentication:
+ class User < ActiveRecord::Base
+ authenticates_with_sorcery!
+ end
== Sinatra Configuration:

0 comments on commit e626956

Please sign in to comment.