diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-12-21 10:56:29 -0800 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-12-21 10:56:29 -0800 |
commit | 82053bee366c68a0eb87386bbb62378d53a58174 (patch) | |
tree | 0dfa4400a7b4d1cad0057810827a393ef1b49b47 | |
parent | b9c9766cd413f239ff892ea6b90abfd4a0bada46 (diff) | |
parent | b894b7b90a6aced0e78ab84a45bf1c75c871bb2d (diff) | |
download | rails-82053bee366c68a0eb87386bbb62378d53a58174.tar.gz rails-82053bee366c68a0eb87386bbb62378d53a58174.tar.bz2 rails-82053bee366c68a0eb87386bbb62378d53a58174.zip |
Merge pull request #13436 from robin850/patch-11
Add missing changelog entries and fix few typos
-rw-r--r-- | actionview/CHANGELOG.md | 8 | ||||
-rw-r--r-- | activemodel/lib/active_model/callbacks.rb | 2 | ||||
-rw-r--r-- | activesupport/lib/active_support/callbacks.rb | 2 | ||||
-rw-r--r-- | railties/CHANGELOG.md | 8 |
4 files changed, 18 insertions, 2 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md index 0f38195514..b74b36c439 100644 --- a/actionview/CHANGELOG.md +++ b/actionview/CHANGELOG.md @@ -1,3 +1,11 @@ +* The `video_tag` helper accepts a number as `:size` + + The `:size` option of the `video_tag` helper now can be specified + with a stringified number. The `width` and `height` attributes of + the generated tag will be the same. + + *Kuldeep Aggarwal* + * A Cycle object should accept an array and cycle through it as it would with a set of comma-separated objects. diff --git a/activemodel/lib/active_model/callbacks.rb b/activemodel/lib/active_model/callbacks.rb index 377aa6ee27..b27a39b787 100644 --- a/activemodel/lib/active_model/callbacks.rb +++ b/activemodel/lib/active_model/callbacks.rb @@ -30,7 +30,7 @@ module ActiveModel # end # # Then in your class, you can use the +before_create+, +after_create+ and - # +around_create+ methods, just as you would in an Active Record module. + # +around_create+ methods, just as you would in an Active Record model. # # before_create :action_before_create # diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb index 3052e5011c..e14ece7f35 100644 --- a/activesupport/lib/active_support/callbacks.rb +++ b/activesupport/lib/active_support/callbacks.rb @@ -577,7 +577,7 @@ module ActiveSupport # The callback can be specified as a symbol naming an instance method; as a # proc, lambda, or block; as a string to be instance evaluated; or as an # object that responds to a certain method determined by the <tt>:scope</tt> - # argument to +define_callback+. + # argument to +define_callbacks+. # # If a proc, lambda, or block is given, its body is evaluated in the context # of the current object. It can also optionally accept the current object as diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md index ab8f64c647..aa26017bda 100644 --- a/railties/CHANGELOG.md +++ b/railties/CHANGELOG.md @@ -1,3 +1,11 @@ +* `config.assets.raise_runtime_errors` is set to true by default + + This option has been introduced in + [sprockets-rails#100][https://github.com/rails/sprockets-rails/pull/100] + and defaults to true in new applications in development. + + *Richard Schneeman* + * Generates `html` and `text` templates for mailers by default. *Kassio Borges* |