If i understood you right. You have a controller named
logger_controller.rb in your app/controllers folder. If that''s the
case:
<%= start_form_tag :controller => ''logger'',
:action->''whatever the name
of the action in logger is'' %>
if logger is an action in your form_controller.rb then:
<%= start_form_tag :action->''logger''%>
should do it.
sergio ruiz wrote:> i am trying to get a start_form_tag working, but i am shooting blanks..
>
> here''s what i am trying to do..
>
> i have a controller called "forms.." with an action
"new_entry"..
>
> it is called by:
>
> localhost/forms/new_entry
>
> this is just a quick form to test another action..
>
> that action is:
>
> localhost/logger
>
> my question is, how do i construct start form tag in order to access the
> logger?
>
> ie..
>
> <%= start_form_tag :action->''What do i put
here?''%>
>
> i have tried putting:
>
> :logger
> /logger
> ''/logger''
> ''logger''
>
> and whatever else i could think of, but i am not hitting it..
>
> any ideas?
>
> thanks!
--
Posted via http://www.ruby-forum.com/.