Forum: Ruby on Rails how to find the helpers code ?

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.
Satya (Guest)
on 2006-02-13 03:35
Hello,

 i have the application set up on my radrails. I was looking at the view
generated by scaffold and i see a bunch of names, after looking up
internet i found that they are helpers and generate the HTML for us.

Now, i wanted to look at the helper code for start_form_tag, so that
based on that i could write some of my own helpers in my helper
classes... but i could not find the code anywhere for

start_form_tag, end_form_tag, or submit_tag or render or anything... !!

Also where could i find out what are the parameters required for these
helpers (if i cant see the code )   ??

Thanks for any help,
Satya.
Pat M. (Guest)
on 2006-02-13 03:56
(Received via mailing list)
First of all, all the methods listed in the API have their
corresponding code.
http://api.rubyonrails.com/classes/ActionView/Help...
and click on "Show Source" to check it out.

Unfortunately I don't know the path where gems are installed on
RadRails, but in your Ruby dir, the helpers are in
gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers.

Pat
Ben M. (Guest)
on 2006-02-13 05:49
(Received via mailing list)
RadRails doesn't come with Ruby or rails or any of that... it just uses
the install you
have on your system.

b
This topic is locked and can not be replied to.