Skip to content

Commit

Permalink
Merge pull request wazery#43 from nbirnel/improve-readme
Browse files Browse the repository at this point in the history
add db:migrate to README, fix inconsistent capitalization
  • Loading branch information
wazery committed Aug 23, 2014
2 parents 22fdf05 + dfd263c commit 51ebf9a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ gem 'ratyrate'
### Generate

```
rails g ratyrate User
rails g ratyrate user
```

The generator takes one argument which is the name of your existing devise user model UserModelName. This is necessary to bind the user and rating datas.
Expand All @@ -69,7 +69,16 @@ rails g devise user
rails g ratyrate user # => user is the model generated by devise
```

This generator will create Rate and RatingCache models and link to your user model.
This generator will create Rate and RatingCache models,
db/migrations,
and link to your user model.

### Database Migration

Run the migrations:
```
rake db:migrate
```

### Prepare

Expand Down

0 comments on commit 51ebf9a

Please sign in to comment.