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:
parent
495722a956
commit
37b3684233
2 changed files with 2 additions and 2 deletions
|
@ -154,7 +154,7 @@ Railties
|
||||||
rails g scaffold Post title:string:index author:uniq price:decimal{7,2}
|
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.
|
* Turn gem has been removed from default Gemfile.
|
||||||
|
|
||||||
|
|
|
@ -457,7 +457,7 @@ The block receives the following arguments:
|
||||||
* The name of the event
|
* The name of the event
|
||||||
* Time when it started
|
* Time when it started
|
||||||
* Time when it finished
|
* Time when it finished
|
||||||
* An unique ID for this event
|
* A unique ID for this event
|
||||||
* The payload (described in previous sections)
|
* The payload (described in previous sections)
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
|
|
Loading…
Reference in a new issue