Browse files

copy edits and fixes [ci skip]

  • Loading branch information...
1 parent 578eba0 commit 1fd008cd44cd2eea37db57ee6b3c17d3585d88c1 @vijaydev vijaydev committed Nov 16, 2012
View
8 guides/source/action_view_overview.md
@@ -79,7 +79,7 @@ The loop is set up in regular embedding tags (`<% %>`) and the name is written u
Hi, Mr. <% puts "Frodo" %>
```
-To supress leading and trailing whitespaces, you can use `<%-` `-%>` interchangeably with `<%` and `%>`.
+To suppress leading and trailing whitespaces, you can use `<%-` `-%>` interchangeably with `<%` and `%>`.
#### Builder
@@ -346,13 +346,11 @@ View Paths
TODO...
-Overview of all the helpers provided by Action View
----------------------------------------------------
+Overview of helpers provided by Action View
+-------------------------------------------
WIP: Not all the helpers are listed here. For a full list see the [API documentation](http://api.rubyonrails.org/classes/ActionView/Helpers.html)
-TODO: I'm skeptical about whether it makes sense documenting all the helpers in an Action View Overview, or even some of them. *Agis-*
-
The following is only a brief overview summary of the helpers available in Action View. It's recommended that you review the [API Documentation](http://api.rubyonrails.org/classes/ActionView/Helpers.html), which covers all of the helpers in more detail, but this should serve as a good starting point.
### RecordTagHelper
View
2 guides/source/active_support_core_extensions.md
@@ -148,7 +148,9 @@ Active Support provides `duplicable?` to programmatically query an object about
```ruby
"foo".duplicable? # => true
+"".duplicable? # => true
0.0.duplicable? # => false
+false.duplicable? # => false
```
By definition all objects are `duplicable?` except `nil`, `false`, `true`, symbols, numbers, class, and module objects.
View
2 guides/source/association_basics.md
@@ -135,7 +135,7 @@ end
class Patient < ActiveRecord::Base
has_many :appointments
- has_many :physicians, :through: :appointments
+ has_many :physicians, through: :appointments
end
```
View
2 guides/source/generators.md
@@ -376,7 +376,7 @@ Fallbacks allow your generators to have a single responsibility, increasing code
Application Templates
---------------------
-Now that you've seen how generators can be used _inside_ an application, did you know they can also be used to _generate_ applications too? This kind of generator is referred as a "template". This is a brief overview of the Templates API. For detailed documentation see the [Rails Application Templates guide](http://guides.rubyonrails.org/rails_application_templates.html)
+Now that you've seen how generators can be used _inside_ an application, did you know they can also be used to _generate_ applications too? This kind of generator is referred as a "template". This is a brief overview of the Templates API. For detailed documentation see the [Rails Application Templates guide](rails_application_templates.html).
```ruby
gem "rspec-rails", group: "test"
View
2 guides/source/rails_application_templates.md
@@ -89,7 +89,7 @@ add_source "http://code.whytheluckystiff.net"
Adds a line inside the `Application` class for `config/application.rb`.
-If options `:env` is specified, the line is appended to the corresponding file in `config/environments`.
+If `options[:env]` is specified, the line is appended to the corresponding file in `config/environments`.
```ruby
environment 'config.action_mailer.default_url_options = {host: 'http://yourwebsite.example.com'}, env: 'production'

0 comments on commit 1fd008c

Please sign in to comment.