Skip to content

Commit

Permalink
Merge pull request #2045 from mtoledo/patch-1
Browse files Browse the repository at this point in the history
Minor typo fix
  • Loading branch information
José Valim committed Aug 28, 2012
2 parents 4875178 + e345d39 commit 84c4759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -108,7 +108,7 @@ The generator will install an initializer which describes ALL Devise's configura
rails generate devise MODEL
```

Replace MODEL by the class name used for the applications users, it's frequently 'User' but could also be 'Admin'. This will create a model (if one does not exist) and configure it with default Devise modules. Next, you'll usually run "rake db:migrate" as the generator will have created a migration file (if your ORM supports them). This generator also configures your config/routes.rb file to point to Devise controller.
Replace MODEL by the class name used for the applications users, it's frequently 'User' but could also be 'Admin'. This will create a model (if one does not exist) and configure it with default Devise modules. Next, you'll usually run "rake db:migrate" as the generator will have created a migration file (if your ORM supports them). This generator also configures your config/routes.rb file to point to the Devise controller.

Note that you should re-start your app here if you've already started it. Otherwise you'll run into strange errors like users being unable to login and the route helpers being undefined.

Expand Down

0 comments on commit 84c4759

Please sign in to comment.