Cleanup CHANGELOGs [ci skip]
* Remove trailing spaces. * Add backticks around method and command. * Fix indentation.
This commit is contained in:
parent
26878bdb00
commit
89389428b5
|
@ -4,4 +4,5 @@
|
||||||
|
|
||||||
*Edward Poot*
|
*Edward Poot*
|
||||||
|
|
||||||
|
|
||||||
Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/actioncable/CHANGELOG.md) for previous changes.
|
Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/actioncable/CHANGELOG.md) for previous changes.
|
||||||
|
|
|
@ -10,4 +10,5 @@
|
||||||
|
|
||||||
*Julian Nadeau*
|
*Julian Nadeau*
|
||||||
|
|
||||||
|
|
||||||
Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/actionpack/CHANGELOG.md) for previous changes.
|
Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/actionpack/CHANGELOG.md) for previous changes.
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
* Update distance_of_time_in_words helper to display better error messages
|
* Update `distance_of_time_in_words` helper to display better error messages
|
||||||
for bad input.
|
for bad input.
|
||||||
|
|
||||||
*Jay Hayes*
|
*Jay Hayes*
|
||||||
|
|
||||||
|
|
||||||
Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/actionview/CHANGELOG.md) for previous changes.
|
Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/actionview/CHANGELOG.md) for previous changes.
|
||||||
|
|
|
@ -4,4 +4,5 @@
|
||||||
|
|
||||||
*Steven Bull*
|
*Steven Bull*
|
||||||
|
|
||||||
|
|
||||||
Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/activejob/CHANGELOG.md) for previous changes.
|
Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/activejob/CHANGELOG.md) for previous changes.
|
||||||
|
|
|
@ -4,27 +4,27 @@
|
||||||
|
|
||||||
Change `#values` to only return the not empty values.
|
Change `#values` to only return the not empty values.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
# Before
|
# Before
|
||||||
person = Person.new
|
person = Person.new
|
||||||
person.errors.keys # => []
|
person.errors.keys # => []
|
||||||
person.errors.values # => []
|
person.errors.values # => []
|
||||||
person.errors.messages # => {}
|
person.errors.messages # => {}
|
||||||
person.errors[:name] # => []
|
person.errors[:name] # => []
|
||||||
person.errors.messages # => {:name => []}
|
person.errors.messages # => {:name => []}
|
||||||
person.errors.keys # => [:name]
|
person.errors.keys # => [:name]
|
||||||
person.errors.values # => [[]]
|
person.errors.values # => [[]]
|
||||||
|
|
||||||
# After
|
# After
|
||||||
person = Person.new
|
person = Person.new
|
||||||
person.errors.keys # => []
|
person.errors.keys # => []
|
||||||
person.errors.values # => []
|
person.errors.values # => []
|
||||||
person.errors.messages # => {}
|
person.errors.messages # => {}
|
||||||
person.errors[:name] # => []
|
person.errors[:name] # => []
|
||||||
person.errors.messages # => {:name => []}
|
person.errors.messages # => {:name => []}
|
||||||
person.errors.keys # => []
|
person.errors.keys # => []
|
||||||
person.errors.values # => []
|
person.errors.values # => []
|
||||||
|
|
||||||
*bogdanvlviv*
|
*bogdanvlviv*
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
* Quote database name in db:create grant statement (when database_user does not have access to create the database).
|
* Quote database name in `db:create` grant statement (when database user does not have access to create the database).
|
||||||
|
|
||||||
*Rune Philosof*
|
*Rune Philosof*
|
||||||
|
|
||||||
|
|
|
@ -18,4 +18,5 @@
|
||||||
|
|
||||||
*Josh Pencheon*
|
*Josh Pencheon*
|
||||||
|
|
||||||
|
|
||||||
Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/activesupport/CHANGELOG.md) for previous changes.
|
Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/activesupport/CHANGELOG.md) for previous changes.
|
||||||
|
|
|
@ -8,5 +8,4 @@
|
||||||
*Jan Krutisch*
|
*Jan Krutisch*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/railties/CHANGELOG.md) for previous changes.
|
Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/railties/CHANGELOG.md) for previous changes.
|
||||||
|
|
Loading…
Reference in New Issue