Forum: Ruby on Rails Any resources about rhtml study?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Dfe040fa103ff5757cc84226b8f5a83e?d=identicon&s=25 Wesley Chen (chenpassion)
on 2009-04-22 09:07
(Received via mailing list)
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 Chen.
81b61875e41eaa58887543635d556fca?d=identicon&s=25 Frederick Cheung (Guest)
on 2009-04-22 09:10
(Received via mailing list)
On Apr 22, 6:35 am, Wesley Chen <cjq....@gmail.com> wrote:
> 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.
>

rhtml is just an html document with erb embedded in it (or perhaps an
erb document with html in it).
Read up on html and erb and you'll be good to go.

Fred
Dfe040fa103ff5757cc84226b8f5a83e?d=identicon&s=25 Wesley Chen (chenpassion)
on 2009-04-22 09:19
(Received via mailing list)
Hi, Fred,
Thank you for your reply.
But I saw so many tags, such as:
*<%= date_select :p, :nom, :start_year=>2005,
    :use_month_numbers=>false,
    :discard_day=>false,
    :order=>[:year, :month, :day]%>*

So, if I just study HTML, how do I know what the *date_select*, *:p*,
:*nom*,
:*order *represent?
I means whether there are any books or documents, talking about the
tags,
such as *radio_button*, *link_to*, *select* and so on.

Any ideas and suggestion would be quite appreciated.
Thanks.
Wesley Chen.


On Wed, Apr 22, 2009 at 3:09 PM, Frederick Cheung <
81b61875e41eaa58887543635d556fca?d=identicon&s=25 Frederick Cheung (Guest)
on 2009-04-22 09:28
(Received via mailing list)
On Apr 22, 8:17 am, Wesley Chen <cjq....@gmail.com> wrote:
> I means whether there are any books or documents, talking about the tags,
> such as *radio_button*, *link_to*, *select* and so on.
>
Those aren't tags - they are methods from the rails api. At the very
least they'll be covered in the api docs, some will be in some of the
guides on guides.rubyonrails.org

Fred
Fred
Dfe040fa103ff5757cc84226b8f5a83e?d=identicon&s=25 Wesley Chen (chenpassion)
on 2009-04-22 11:19
(Received via mailing list)
Hi, Fred,
Thank you very much, that's exactly what I am looking for all the time.

Thanks.
Wesley Chen.


On Wed, Apr 22, 2009 at 3:28 PM, Frederick Cheung <
This topic is locked and can not be replied to.