Skip to content

Commit 9bf5cdd

Browse files
committed
s/ERb/ERB/g (part II)
1 parent bd3cdee commit 9bf5cdd

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

actionmailer/README.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This can be as simple as:
3232
end
3333

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

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

actionpack/README.rdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ It consists of several modules:
1919

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

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

5959

60-
* ERb templates (static content mixed with dynamic output from ruby)
60+
* ERB templates (static content mixed with dynamic output from ruby)
6161

6262
<% for post in @posts %>
6363
Title: <%= post.title %>

railties/guides/source/action_view_overview.textile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1295,7 +1295,7 @@ end
12951295

12961296
h5. update_page_tag
12971297

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

13001300
h4. PrototypeHelper::JavaScriptGenerator::GeneratorMethods
13011301

railties/guides/source/api_documentation_guidelines.textile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Documentation has to be concise but comprehensive. Explore and document edge cas
2929

3030
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.
3131

32-
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.
32+
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.
3333

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

railties/guides/source/command_line.textile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ end
484484
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:
485485

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

railties/guides/source/testing.textile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ steve:
7979

8080
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.
8181

82-
h5. ERb'in It Up
82+
h5. ERB'in It Up
8383

84-
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.
84+
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.
8585

8686
<erb>
8787
<% earth_size = 20 %>

0 commit comments

Comments
 (0)