Shandy Nantz wrote:
> Pål Bergström wrote:

> Have you tried
> 
> <% form_tag :action => 'update', :controller => 'meetings', :id => 
> @calendar.id, :onsubmit => 'return ValidateMeeting()' do %>
> 
> That should call the action and the controller that you want.
> 
> -S

Will that not give the same form-tag? It might be that I confuse things 
here. This and mine will give the form-tag and id. I thought that id was 
the params[:id], but I guess it's not. It's just a regular id. I thought 
a :id in a rails-form would send it as the params[:id].
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to