Skip to content

Commit

Permalink
s/ERb/ERB/g (part II)
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Apr 3, 2011
1 parent bd3cdee commit 9bf5cdd
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion actionmailer/README.rdoc
Expand Up @@ -32,7 +32,7 @@ This can be as simple as:
end

The body of the email is created by using an Action View template (regular
ERb) that has the instance variables that are declared in the mailer action.
ERB) that has the instance variables that are declared in the mailer action.

So the corresponding body template for the method above could look like this:

Expand Down
4 changes: 2 additions & 2 deletions actionpack/README.rdoc
Expand Up @@ -19,7 +19,7 @@ It consists of several modules:

* Action View, which handles view template lookup and rendering, and provides
view helpers that assist when building HTML forms, Atom feeds and more.
Template formats that Action View handles are ERb (embedded Ruby, typically
Template formats that Action View handles are ERB (embedded Ruby, typically
used to inline short Ruby snippets inside HTML), XML Builder and RJS
(dynamically generated JavaScript from Ruby code).

Expand Down Expand Up @@ -57,7 +57,7 @@ A short rundown of some of the major features:
{Learn more}[link:classes/ActionController/Base.html]


* ERb templates (static content mixed with dynamic output from ruby)
* ERB templates (static content mixed with dynamic output from ruby)

<% for post in @posts %>
Title: <%= post.title %>
Expand Down
2 changes: 1 addition & 1 deletion railties/guides/source/action_view_overview.textile
Expand Up @@ -1295,7 +1295,7 @@ end

h5. update_page_tag

Works like update_page but wraps the generated JavaScript in a +script+ tag. Use this to include generated JavaScript in an ERb template.
Works like update_page but wraps the generated JavaScript in a +script+ tag. Use this to include generated JavaScript in an ERB template.

h4. PrototypeHelper::JavaScriptGenerator::GeneratorMethods

Expand Down
Expand Up @@ -29,7 +29,7 @@ Documentation has to be concise but comprehensive. Explore and document edge cas

The proper names of Rails components have a space in between the words, like "Active Support". +ActiveRecord+ is a Ruby module, whereas Active Record is an ORM. All Rails documentation should consistently refer to Rails components by their proper name, and if in your next blog post or presentation you remember this tidbit and take it into account that'd be phenomenal.

Spell names correctly: Arel, Test::Unit, RSpec, HTML, MySQL, JavaScript, ERb. When in doubt, please have a look at some authoritative source like their official documentation.
Spell names correctly: Arel, Test::Unit, RSpec, HTML, MySQL, JavaScript, ERB. When in doubt, please have a look at some authoritative source like their official documentation.

Use the article "an" for "SQL", as in "an SQL statement". Also "an SQLite database".

Expand Down
2 changes: 1 addition & 1 deletion railties/guides/source/command_line.textile
Expand Up @@ -484,7 +484,7 @@ end
We take whatever args are supplied, save them to an instance variable, and literally copying from the Rails source, implement a +manifest+ method, which calls +record+ with a block, and we:

* Check there's a *public* directory. You bet there is.
* Run the ERb template called "tutorial.erb".
* Run the ERB template called "tutorial.erb".
* Save it into "Rails.root/public/tutorial.txt".
* Pass in the arguments we saved through the +:assigns+ parameter.

Expand Down
4 changes: 2 additions & 2 deletions railties/guides/source/testing.textile
Expand Up @@ -79,9 +79,9 @@ steve:

Each fixture is given a name followed by an indented list of colon-separated key/value pairs. Records are separated by a blank space. You can place comments in a fixture file by using the # character in the first column.

h5. ERb'in It Up
h5. ERB'in It Up

ERb allows you to embed ruby code within templates. Both the YAML and CSV fixture formats are pre-processed with ERb when you load fixtures. This allows you to use Ruby to help you generate some sample data.
ERB allows you to embed ruby code within templates. Both the YAML and CSV fixture formats are pre-processed with ERB when you load fixtures. This allows you to use Ruby to help you generate some sample data.

<erb>
<% earth_size = 20 %>
Expand Down

0 comments on commit 9bf5cdd

Please sign in to comment.