Forum: Ruby on Rails Give Rhtml tutorial links

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
prabu (Guest)
on 2007-03-13 08:54
(Received via mailing list)
please give the rhtml tutorial links
Ramon T. (Guest)
on 2007-03-13 13:45
(Received via mailing list)
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

On 3/13/07, prabu <removed_email_address@domain.invalid> wrote:
> please give the rhtml tutorial links

Ramon Miguel M. Tayag
Prabu A. (Guest)
on 2007-03-15 07:42
(Received via mailing list)
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
Faisal N Jawdat (Guest)
on 2007-03-15 22:43
(Received via mailing list)
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( %>
<% 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.

Naga harish K. (Guest)
on 2007-03-16 08:30
 Follow this link,
its actually a cheat sheet for ruby,rails,rhtml,rjs etc., like a quick
but it has most of the tags of the rhtml,

This topic is locked and can not be replied to.