1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

minor copy editing [ci skip]

This commit is contained in:
Vijay Dev 2014-08-19 21:42:51 +05:30
parent 29a947808b
commit 0cb3bdb66e

View file

@ -341,9 +341,7 @@ end
If you generate another resource, you can see that we get exactly the same result! This is useful if you want to customize your scaffold templates and/or layout by just creating `edit.html.erb`, `index.html.erb` and so on inside `lib/templates/erb/scaffold`. If you generate another resource, you can see that we get exactly the same result! This is useful if you want to customize your scaffold templates and/or layout by just creating `edit.html.erb`, `index.html.erb` and so on inside `lib/templates/erb/scaffold`.
Many scaffold templates in Rails are written in ERB tags which needs to be escaped, so that the output is a valid ERB code, that can be used correctly in Rails app. Many scaffold templates in Rails are written in ERB tags which need to be escaped, so that the output is valid ERB code. For example,
The following code in one of the generator file,
```ruby ```ruby
<%%= stylesheet_include_tag :application %> <%%= stylesheet_include_tag :application %>