1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Replace an UNIQUE with a UNIQUE as UNIQUE doesn't have a vowel sound [ci skip]

`A UNIQUE` we pronounce URL as 'yu-ni-k’. We use this everywhere. So, be consistent with it.
This commit is contained in:
amitkumarsuroliya 2015-10-07 23:05:01 +05:30
parent 495722a956
commit 37b3684233
2 changed files with 2 additions and 2 deletions

View file

@ -154,7 +154,7 @@ Railties
rails g scaffold Post title:string:index author:uniq price:decimal{7,2}
```
will create indexes for `title` and `author` with the latter being an unique index. Some types such as decimal accept custom options. In the example, `price` will be a decimal column with precision and scale set to 7 and 2 respectively.
will create indexes for `title` and `author` with the latter being a unique index. Some types such as decimal accept custom options. In the example, `price` will be a decimal column with precision and scale set to 7 and 2 respectively.
* Turn gem has been removed from default Gemfile.

View file

@ -457,7 +457,7 @@ The block receives the following arguments:
* The name of the event
* Time when it started
* Time when it finished
* An unique ID for this event
* A unique ID for this event
* The payload (described in previous sections)
```ruby