aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-02-23 16:54:40 +0100
committerYves Senn <yves.senn@gmail.com>2015-02-23 16:54:40 +0100
commite71f5dad4e0d27afbcc091173bee20bd6f4d2a4e (patch)
tree35a37ecbe45e1c8e3cf65724bdea74a1be04b2e6
parent98d896e0aede716ecf3918d54dfc78bad80d2878 (diff)
downloadrails-e71f5dad4e0d27afbcc091173bee20bd6f4d2a4e.tar.gz
rails-e71f5dad4e0d27afbcc091173bee20bd6f4d2a4e.tar.bz2
rails-e71f5dad4e0d27afbcc091173bee20bd6f4d2a4e.zip
some indenting and punctuation fixes. [ci skip]
-rw-r--r--actionpack/CHANGELOG.md21
-rw-r--r--activemodel/CHANGELOG.md2
-rw-r--r--activerecord/CHANGELOG.md12
-rw-r--r--activesupport/CHANGELOG.md27
4 files changed, 33 insertions, 29 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index c5b208f5b6..8f36af94b4 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -9,11 +9,12 @@
*Ville Lautanala*
-* Add http_cache_forever to Action Controller, so we can cache a response that never gets expired.
+* Add `http_cache_forever` to Action Controller, so we can cache a response
+ that never gets expired.
*arthurnn*
-* ActionController#translate supports symbols as shortcuts.
+* `ActionController#translate` supports symbols as shortcuts.
When shortcut is given it also lookups without action name.
*Max Melentiev*
@@ -42,14 +43,14 @@
request causing an incorrect behavior during the fall back to GET requests.
Example:
- ```ruby
- draw do
- get '/home' => 'test#index'
- mount rack_app, at: '/'
- end
- head '/home'
- assert_response :success
- ```
+
+ draw do
+ get '/home' => 'test#index'
+ mount rack_app, at: '/'
+ end
+ head '/home'
+ assert_response :success
+
In this case, a HEAD request runs through the routes the first time and fails
to match anything. Then, it runs through the list with the fallback and matches
`get '/home'`. The original behavior would match the rack app in the first pass.
diff --git a/activemodel/CHANGELOG.md b/activemodel/CHANGELOG.md
index c21083698e..80b42859e2 100644
--- a/activemodel/CHANGELOG.md
+++ b/activemodel/CHANGELOG.md
@@ -14,7 +14,7 @@
* Assigning an unknown attribute key to an `ActiveModel` instance during initialization
will now raise `ActiveModel::AttributeAssignment::UnknownAttributeError` instead of
- `NoMethodError`
+ `NoMethodError`.
Example:
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index b636ffdc97..131fdc62aa 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -5,7 +5,8 @@
*Josef Šimánek*
-* Fixed ActiveRecord::Relation#becomes! and changed_attributes issues for type column
+* Fixed ActiveRecord::Relation#becomes! and changed_attributes issues for type
+ column.
Fixes #17139.
@@ -48,7 +49,8 @@
*Michael Ryan*
-* `:time` option added for `#touch`
+* `:time` option added for `#touch`.
+
Fixes #18905.
*Hyonjee Joo*
@@ -92,9 +94,9 @@
* `scoping` no longer pollutes the current scope of sibling classes when using
STI. e.x.
- StiOne.none.scoping do
- StiTwo.all
- end
+ StiOne.none.scoping do
+ StiTwo.all
+ end
Fixes #18806.
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index 44735e4b75..361571db98 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -3,27 +3,28 @@
Before:
- YAML.load ActiveSupport::SafeBuffer.new("Hello").to_yaml # => "Hello"
- YAML.load ActiveSupport::SafeBuffer.new("true").to_yaml # => true
- YAML.load ActiveSupport::SafeBuffer.new("false").to_yaml # => false
- YAML.load ActiveSupport::SafeBuffer.new("1").to_yaml # => 1
- YAML.load ActiveSupport::SafeBuffer.new("1.1").to_yaml # => 1.1
+ YAML.load ActiveSupport::SafeBuffer.new("Hello").to_yaml # => "Hello"
+ YAML.load ActiveSupport::SafeBuffer.new("true").to_yaml # => true
+ YAML.load ActiveSupport::SafeBuffer.new("false").to_yaml # => false
+ YAML.load ActiveSupport::SafeBuffer.new("1").to_yaml # => 1
+ YAML.load ActiveSupport::SafeBuffer.new("1.1").to_yaml # => 1.1
- After:
+ After:
- YAML.load ActiveSupport::SafeBuffer.new("Hello").to_yaml # => "Hello"
- YAML.load ActiveSupport::SafeBuffer.new("true").to_yaml # => "true"
- YAML.load ActiveSupport::SafeBuffer.new("false").to_yaml # => "false"
- YAML.load ActiveSupport::SafeBuffer.new("1").to_yaml # => "1"
- YAML.load ActiveSupport::SafeBuffer.new("1.1").to_yaml # => "1.1"
+ YAML.load ActiveSupport::SafeBuffer.new("Hello").to_yaml # => "Hello"
+ YAML.load ActiveSupport::SafeBuffer.new("true").to_yaml # => "true"
+ YAML.load ActiveSupport::SafeBuffer.new("false").to_yaml # => "false"
+ YAML.load ActiveSupport::SafeBuffer.new("1").to_yaml # => "1"
+ YAML.load ActiveSupport::SafeBuffer.new("1.1").to_yaml # => "1.1"
*Godfrey Chan*
-* Enable number_to_percentage to keep the number's precision by allowing :precision to be nil
+* Enable `number_to_percentage` to keep the number's precision by allowing
+ `:precision` to be `nil`.
*Jack Xu*
-* config_accessor became a private method, as with Ruby's attr_accessor.
+* `config_accessor` became a private method, as with Ruby's `attr_accessor`.
*Akira Matsuda*