diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2014-06-29 20:14:40 +0200 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2014-06-29 20:15:28 +0200 |
commit | 9ca0f8da2abe735c57eacd9b687ee7c3fae3685d (patch) | |
tree | 52765442c0295fde5249b2ea1032dc0757a51e92 | |
parent | d93ae4fca82ddd454d7e3ed4f109e37eb3b5686c (diff) | |
download | rails-9ca0f8da2abe735c57eacd9b687ee7c3fae3685d.tar.gz rails-9ca0f8da2abe735c57eacd9b687ee7c3fae3685d.tar.bz2 rails-9ca0f8da2abe735c57eacd9b687ee7c3fae3685d.zip |
Tiny documentation fixes [ci skip]
-rw-r--r-- | actionview/lib/action_view/helpers/form_helper.rb | 2 | ||||
-rw-r--r-- | activesupport/lib/active_support/callbacks.rb | 2 | ||||
-rw-r--r-- | guides/source/initialization.md | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/actionview/lib/action_view/helpers/form_helper.rb b/actionview/lib/action_view/helpers/form_helper.rb index 789a413c8d..6d68021ab7 100644 --- a/actionview/lib/action_view/helpers/form_helper.rb +++ b/actionview/lib/action_view/helpers/form_helper.rb @@ -482,7 +482,7 @@ module ActionView # Admin? : <%= permission_fields.check_box :admin %> # <% end %> # - # <%= f.submit %> + # <%= person_form.submit %> # <% end %> # # In this case, the checkbox field will be represented by an HTML +input+ diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb index e5dbe214b4..876033c193 100644 --- a/activesupport/lib/active_support/callbacks.rb +++ b/activesupport/lib/active_support/callbacks.rb @@ -71,7 +71,7 @@ module ActiveSupport # order. # # If the callback chain was halted, returns +false+. Otherwise returns the - # result of the block, nil if no callbacks have been set, or +true+ + # result of the block, +nil+ if no callbacks have been set, or +true+ # if callbacks have been set but no block is given. # # run_callbacks :save do diff --git a/guides/source/initialization.md b/guides/source/initialization.md index 02059151b6..b81b048c35 100644 --- a/guides/source/initialization.md +++ b/guides/source/initialization.md @@ -98,9 +98,9 @@ configure the load path for your Gemfile's dependencies. A standard Rails application depends on several gems, specifically: -* abstract * actionmailer * actionpack +* actionview * activemodel * activerecord * activesupport @@ -119,7 +119,7 @@ A standard Rails application depends on several gems, specifically: * rails * railties * rake -* sqlite3-ruby +* sqlite3 * thor * treetop * tzinfo @@ -703,4 +703,4 @@ the last piece of our journey in the Rails initialization process. This high level overview will help you understand when your code is executed and how, and overall become a better Rails developer. If you still want to know more, the Rails source code itself is probably the -best place to go next.
\ No newline at end of file +best place to go next. |