Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[ci skip] Fix a factual error and highlight code in generators guide.

  • Loading branch information...
commit 9a1e23a53c93703a74425679a5cea75dadd89ccb 1 parent 6f3c8fb
@JuanitoFatas JuanitoFatas authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 guides/source/generators.md
View
4 guides/source/generators.md
@@ -248,7 +248,7 @@ end
end
```
-We can try out our new generator by creating a helper for users:
+We can try out our new generator by creating a helper for products:
```bash
$ rails generate my_helper products
@@ -507,7 +507,7 @@ Replaces text inside a file.
gsub_file 'name_of_file.rb', 'method.to_be_replaced', 'method.the_replacing_code'
```
-Regular Expressions can be used to make this method more precise. You can also use append_file and prepend_file in the same way to place code at the beginning and end of a file respectively.
+Regular Expressions can be used to make this method more precise. You can also use `append_file` and `prepend_file` in the same way to place code at the beginning and end of a file respectively.
### `application`
Please sign in to comment.
Something went wrong with that request. Please try again.