On 16 Sep 2008, at 18:04, Pål Bergström wrote:

>
> I get an error saying Rails can't find the post because I don't have  
> an
> id when doing the update.  I have:
>
> <% form_tag '/meetings/update', :id => @calendar.id, :onsubmit =>
> 'return ValidateMeeting()' do %>
>
> Is this wrong?
Yes :-)

Either you provide a url or you provide a hash of routing options (eg  
id, action), not a mix of both

Fred
>
> -- 
> 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