Is there a website that lists all the methods available in erb that I can use in my .rhtml templates? Such as link_to, h(), etc. thanks, scott. -- Scott F. Walter Scott F. Walter Principal Consultant Vivare, Inc. E: scott.walter-uosFFu51klvQT0dZR+AlfA@public.gmane.org E: scott-APWf0AbNa2kIjDr1QQGPvw@public.gmane.org Visit scottwalter.com <http://scottwalter.com> --Point. Click. Explore!
They''re all in the ActionView::Base or ActionView::Helpers namespaces. I''d recommend getting the devboi sidebar if you have Firefox: http://devboi.mozdev.org/ I can''t remember where exactly, but there is a .xpi that includes ruby / rails documentation. I use this like it''s going out of style. There''s also a local install for the ruby/rails docs, so you can search quickly. Can somebody give a more specific link for Scott to the DevBoi extension that includes ruby/rails? On 8/24/05, Scott F. Walter <scott.walter-uosFFu51klvQT0dZR+AlfA@public.gmane.org> wrote:> Is there a website that lists all the methods available in erb that I > can use in my .rhtml templates? Such as link_to, h(), etc. > > thanks, > > scott. > -- > > Scott F. Walter Scott F. Walter > Principal Consultant > Vivare, Inc. > > E: scott.walter-uosFFu51klvQT0dZR+AlfA@public.gmane.org > E: scott-APWf0AbNa2kIjDr1QQGPvw@public.gmane.org > Visit scottwalter.com <http://scottwalter.com> --Point. Click. Explore! > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Brock Weaver [OBC]Technique
Mu! link_to is a part of ActionView (therefore part of ruby). To find out about action view methods, go to the Rails api, and do a find (in your browser) on ActionView, and start reading... this is a third of rails, so there is a *lot* in there. I''m fairly sure h() isn''t anything specifically to do with ERB per se. Julian. On 25/08/2005, at 12:19 AM, Scott F. Walter wrote:> Is there a website that lists all the methods available in erb that I > can use in my .rhtml templates? Such as link_to, h(), etc. > > thanks, > > scott. > -- > > Scott F. Walter Scott F. Walter > Principal Consultant > Vivare, Inc. > > E: scott.walter-uosFFu51klvQT0dZR+AlfA@public.gmane.org > E: scott-APWf0AbNa2kIjDr1QQGPvw@public.gmane.org > Visit scottwalter.com <http://scottwalter.com> --Point. Click. > Explore! > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
On Aug 24, 2005, at 7:06 PM, Julian Leviston wrote:> Mu! > > link_to is a part of ActionView (therefore part of ruby). To find out > about action view methods, go to the Rails api, and do a find (in your > browser) on ActionView, and start reading... this is a third of rails, > so there is a *lot* in there. > > I''m fairly sure h() isn''t anything specifically to do with ERB per se. > > Julian.h() comes from erb, actually, it''s an alias of html_escape(). -Scott
sorry when I said (therefore part of ruby) I meant (therefore part of Rails) :-S Julian. On 25/08/2005, at 9:06 AM, Julian Leviston wrote:> Mu! > > link_to is a part of ActionView (therefore part of ruby). To find > out about action view methods, go to the Rails api, and do a find > (in your browser) on ActionView, and start reading... this is a > third of rails, so there is a *lot* in there. > > I''m fairly sure h() isn''t anything specifically to do with ERB per se. > > Julian.
Oops... <turns as red as a beetroot> <slowly backs towards the door> I really should shut up about things I''m not sure about - especially when I *think* I''m sure. Bloody ego of mine. <sigh> So - *IS* there a list of erb methods? ;-) Julian. On 25/08/2005, at 9:27 AM, Scott Barron wrote:> > On Aug 24, 2005, at 7:06 PM, Julian Leviston wrote: > > >> Mu! >> >> link_to is a part of ActionView (therefore part of ruby). To find >> out about action view methods, go to the Rails api, and do a find >> (in your browser) on ActionView, and start reading... this is a >> third of rails, so there is a *lot* in there. >> >> I''m fairly sure h() isn''t anything specifically to do with ERB per >> se. >> >> Julian. >> > > h() comes from erb, actually, it''s an alias of html_escape(). > > -Scott > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >