# Any url with documents, articles about how to study Rhtml?

**URL:** <https://www.ruby-forum.com/t/any-url-with-documents-articles-about-how-to-study-rhtml/166125>\
**Category:** Ruby\
**Created:** [April 22, 2009, 3:37am UTC](https://www.ruby-forum.com/t/any-url-with-documents-articles-about-how-to-study-rhtml/166125 "2009-04-22T03:37:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chenpassion](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f9ae1b/32.png) [@chenpassion](https://www.ruby-forum.com/u/chenpassion)\
**Post date:** [April 22, 2009, 3:37am UTC](https://www.ruby-forum.com/t/any-url-with-documents-articles-about-how-to-study-rhtml/166125/1 "2009-04-22T03:37:19Z")

</div>

I am new to Rails and I would like to study the Rhtml grammar and  
practice  
the basic elements in Rhtml. But I can’t find enough resource for my  
study.

Would any guys show some great blog or documents or articles to me?

Any suggestion would be quite appreciated.

Thanks.  
Wesley C…

---

<div class="post-metadata">

**Author:** ![chenpassion](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f9ae1b/32.png) [@chenpassion](https://www.ruby-forum.com/u/chenpassion)\
**Post date:** [April 22, 2009, 3:46am UTC](https://www.ruby-forum.com/t/any-url-with-documents-articles-about-how-to-study-rhtml/166125/2 "2009-04-22T03:46:07Z")

</div>

> I am new to Rails and I would like to study the Rhtml grammar and practice  
> the basic elements in Rhtml. But I can’t find enough resource for my  
> study.

What did Google tell you about them?

Tip: Also seek “eRB” - that’s the usual language for \*.html.erb files…

---

<div class="post-metadata">

**Author:** ![chenpassion](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f9ae1b/32.png) [@chenpassion](https://www.ruby-forum.com/u/chenpassion)\
**Post date:** [April 22, 2009, 4:39am UTC](https://www.ruby-forum.com/t/any-url-with-documents-articles-about-how-to-study-rhtml/166125/3 "2009-04-22T04:39:25Z")

</div>

Thanks to Phlip, I still can’t find any useful resource when I search  
“ERB”  
by google.  
Any other suggestion?  
I want a book talking about rhtml, with most of the tags included.

Thanks.  
Wesley C…

---

<div class="post-metadata">

**Author:** ![chenpassion](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f9ae1b/32.png) [@chenpassion](https://www.ruby-forum.com/u/chenpassion)\
**Post date:** [April 22, 2009, 5:10am UTC](https://www.ruby-forum.com/t/any-url-with-documents-articles-about-how-to-study-rhtml/166125/4 "2009-04-22T05:10:23Z")

</div>

On Apr 21, 9:36 pm, Wesley C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Wesley C…  
> Check out the thread ‘learning ruby’ I just posted

---

<div class="post-metadata">

**Author:** ![chenpassion](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f9ae1b/32.png) [@chenpassion](https://www.ruby-forum.com/u/chenpassion)\
**Post date:** [April 22, 2009, 11:00pm UTC](https://www.ruby-forum.com/t/any-url-with-documents-articles-about-how-to-study-rhtml/166125/5 "2009-04-22T23:00:04Z")

</div>

On Tuesday 21 April 2009 21:37:14 Wesley C. wrote:

> I want a book talking about rhtml, with most of the tags included.

No you don’t. That would be a horrible book.

Here’s what ERB is:

\<% some ruby code %\>

That will evaluate the string “some ruby code” as Ruby.

\<%= some ruby code %\>

That will evaluate the string “some ruby code” as Ruby, and insert its  
return  
value into the document.

That is it. That’s all. You can play with this in Rails by creating a  
.txt.erb  
document and inserting those tags into it – obviously, with real Ruby,  
instead of just the text “some ruby code”.

Everything else you see in an “RHTML” document is HTML, not ERB. There  
is  
nothing magic about RHTML – it is simply the combination of HTML and  
ERB.

So, what you probably want is a book on HTML and CSS before you even  
start  
with Rails. You might also want a book on just Ruby, before you try  
Rails.

Also, this list is about Ruby, not Rails. If you have Rails-specific  
questions,  
you should ask the Rails list.

---

<div class="post-metadata">

**Author:** ![chenpassion](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f9ae1b/32.png) [@chenpassion](https://www.ruby-forum.com/u/chenpassion)\
**Post date:** [April 22, 2009, 5:35pm UTC](https://www.ruby-forum.com/t/any-url-with-documents-articles-about-how-to-study-rhtml/166125/6 "2009-04-22T17:35:45Z")

</div>

> I still can’t find any useful resource when I search “ERB”  
> by google.  
> Any other suggestion?

> **[LMGTFY - Let Me Google That For You](https://lmgtfy.app/?q=ruby%2Berb%2Btutorial)**
>
> For all those people who find it more convenient to bother you with their question rather than to Google it for themselves.

[ BTW, The Rails mailing list is more appropriate for Rails  
questions. ]
