# Give Rhtml tutorial links

**URL:** <https://www.ruby-forum.com/t/give-rhtml-tutorial-links/88636>\
**Category:** Rails\
**Created:** [March 13, 2007, 7:54am UTC](https://www.ruby-forum.com/t/give-rhtml-tutorial-links/88636 "2007-03-13T07:54:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![prabu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f1d935/32.png) [@prabu](https://www.ruby-forum.com/u/prabu)\
**Post date:** [March 13, 2007, 7:54am UTC](https://www.ruby-forum.com/t/give-rhtml-tutorial-links/88636/1 "2007-03-13T07:54:22Z")

</div>

please give the rhtml tutorial links

---

<div class="post-metadata">

**Author:** ![prabu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f1d935/32.png) [@prabu](https://www.ruby-forum.com/u/prabu)\
**Post date:** [March 13, 2007, 12:45pm UTC](https://www.ruby-forum.com/t/give-rhtml-tutorial-links/88636/2 "2007-03-13T12:45:58Z")

</div>

If you will do rhtml, you will need to know Ruby first. If you  
already know Ruby, you’ll know how to do rhtml. Look at the tutorials  
found in [www.rubyonrails.org](http://www.rubyonrails.org)

On 3/13/07, prabu [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> please give the rhtml tutorial links

–  
Ramon Miguel M. Tayag

---

<div class="post-metadata">

**Author:** ![prabu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f1d935/32.png) [@prabu](https://www.ruby-forum.com/u/prabu)\
**Post date:** [March 15, 2007, 6:42am UTC](https://www.ruby-forum.com/t/give-rhtml-tutorial-links/88636/3 "2007-03-15T06:42:13Z")

</div>

fist of all i thank to u  
already i gone through this site  
so can u give other links to learn rhtml  
plz give me

---

<div class="post-metadata">

**Author:** ![prabu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f1d935/32.png) [@prabu](https://www.ruby-forum.com/u/prabu)\
**Post date:** [March 15, 2007, 9:43pm UTC](https://www.ruby-forum.com/t/give-rhtml-tutorial-links/88636/4 "2007-03-15T21:43:34Z")

</div>

rhtml is html plus:

\<% some\_ruby\_code\_here %\> will evaluate the ruby code without  
producing output

\<%= some\_ruby\_code\_here %\> will evaluate the code and output the results

for example, given a collection of posts with each post having a  
name, then:

\<% posts.each do |p| %\>  
\<%= h(p.name) %\>  
\<% end %\>

will output the sanitized name for each post. the name is the result  
of the name method, and the sanitizing is done by the h() helper  
method. your view has access to all the helper methods for your  
controller, as defined in the appropriate helper.rb.

-faisal

---

<div class="post-metadata">

**Author:** ![prabu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f1d935/32.png) [@prabu](https://www.ruby-forum.com/u/prabu)\
**Post date:** [March 16, 2007, 7:30am UTC](https://www.ruby-forum.com/t/give-rhtml-tutorial-links/88636/5 "2007-03-16T07:30:06Z")

</div>

Hi,  
Follow this link, [http://blog.nanorails.com/pages/rails\_1.1\_cheat\_sheet](http://blog.nanorails.com/pages/rails_1.1_cheat_sheet)  
its actually a cheat sheet for ruby,rails,rhtml,rjs etc., like a quick  
reference  
but it has most of the tags of the rhtml,

Harish
