mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Changed 'args' to 'arguments' when used in places other than code with fixing few more typos
This commit is contained in:
parent
12cecdd345
commit
d45145acdc
5 changed files with 6 additions and 6 deletions
|
@ -259,7 +259,7 @@ module AbstractController
|
|||
end
|
||||
|
||||
class TestCallbacksWithArgs < ActiveSupport::TestCase
|
||||
test "callbacks still work when invoking process with multiple args" do
|
||||
test "callbacks still work when invoking process with multiple arguments" do
|
||||
controller = CallbacksWithArgs.new
|
||||
controller.process(:index, " Howdy!")
|
||||
assert_equal "Hello world Howdy!", controller.response_body
|
||||
|
|
|
@ -42,7 +42,7 @@ module AbstractController
|
|||
end
|
||||
end
|
||||
|
||||
test "generated methods call custom with args received" do
|
||||
test "generated methods call custom with arguments received" do
|
||||
collector = MyCollector.new
|
||||
collector.html
|
||||
collector.text(:foo)
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
|
||||
*Yves Senn*
|
||||
|
||||
* Use BCrypt's `MIN_COST` in the test environment for speedier tests when using `has_secure_pasword`.
|
||||
* Use BCrypt's `MIN_COST` in the test environment for speedier tests when using `has_secure_password`.
|
||||
|
||||
*Brian Cardarella + Jeremy Kemper + Trevor Turk*
|
||||
|
||||
|
@ -111,7 +111,7 @@
|
|||
|
||||
* Changed `ActiveModel::Serializers::Xml::Serializer#add_associations` to by default
|
||||
propagate `:skip_types, :dasherize, :camelize` keys to included associations.
|
||||
It can be overriden on each association by explicitly specifying the option on one
|
||||
It can be overridden on each association by explicitly specifying the option on one
|
||||
or more associations
|
||||
|
||||
*Anthony Alberto*
|
||||
|
|
|
@ -428,7 +428,7 @@ end
|
|||
```
|
||||
|
||||
Defining all those block arguments each time can be tedious. You can easily create an `ActiveSupport::Notifications::Event`
|
||||
from block args like this:
|
||||
from block arguments like this:
|
||||
|
||||
```ruby
|
||||
ActiveSupport::Notifications.subscribe "process_action.action_controller" do |*args|
|
||||
|
|
|
@ -82,7 +82,7 @@ The server can be run on a different port using the `-p` option. The default dev
|
|||
$ rails server -e production -p 4000
|
||||
```
|
||||
|
||||
The `-b` option binds Rails to the specified ip, by default it is 0.0.0.0. You can run a server as a daemon by passing a `-d` option.
|
||||
The `-b` option binds Rails to the specified IP, by default it is 0.0.0.0. You can run a server as a daemon by passing a `-d` option.
|
||||
|
||||
### `rails generate`
|
||||
|
||||
|
|
Loading…
Reference in a new issue