doc: update
parent
4e67b70d29
commit
710a751dce
|
@ -51,15 +51,15 @@ Add the following code on your `Gemfile` and run `bundle install`:
|
||||||
gem 'rating'
|
gem 'rating'
|
||||||
```
|
```
|
||||||
|
|
||||||
Run the following task to create a Rating migration:
|
Run the following task to create the Rating migration:
|
||||||
|
|
||||||
```bash
|
```sh
|
||||||
rails g rating:install
|
rails g rating:install
|
||||||
```
|
```
|
||||||
|
|
||||||
Then execute the migrations to create the to create tables `rating_rates` and `rating_ratings`:
|
Then execute the migrations to create the to create tables `rating_rates` and `rating_ratings`:
|
||||||
|
|
||||||
```bash
|
```sh
|
||||||
rake db:migrate
|
rake db:migrate
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue