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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Apr 22, 6:35 am, Wesley Chen <cjq....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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> Would any guys show some great blog or documents or articles to me? > > Any suggestion would be quite appreciated. > > Thanks. > Wesley Chen.
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 < frederick.cheung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > > On Apr 22, 6:35 am, Wesley Chen <cjq....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 > > Would any guys show some great blog or documents or articles to me? > > > > Any suggestion would be quite appreciated. > > > > Thanks. > > Wesley Chen. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Apr 22, 8:17 am, Wesley Chen <cjq....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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. >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> Any ideas and suggestion would be quite appreciated. > Thanks. > Wesley Chen. > > On Wed, Apr 22, 2009 at 3:09 PM, Frederick Cheung < > > frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > On Apr 22, 6:35 am, Wesley Chen <cjq....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 > > > Would any guys show some great blog or documents or articles to me? > > > > Any suggestion would be quite appreciated. > > > > Thanks. > > > Wesley Chen.
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 < frederick.cheung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > > On Apr 22, 8:17 am, Wesley Chen <cjq....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > 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. > > > 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 > > Any ideas and suggestion would be quite appreciated. > > Thanks. > > Wesley Chen. > > > > On Wed, Apr 22, 2009 at 3:09 PM, Frederick Cheung < > > > > frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > On Apr 22, 6:35 am, Wesley Chen <cjq....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 > > > > Would any guys show some great blog or documents or articles to me? > > > > > > Any suggestion would be quite appreciated. > > > > > > Thanks. > > > > Wesley Chen. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---