From: David Masover Date: 2009-04-23T05:57:25+09:00 Subject: Re: Any url with documents, articles about how to study Rhtml? On Tuesday 21 April 2009 21:37:14 Wesley Chen 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.