2011/6/15 Sta Canovist <[email protected]>

>
>
>> Are you sure?
> I see that I send the ID both for get and post.
> With GET i put this in the browser:
> http://localhost:3000/admin/accounts/133/portals/update
>
> And the log shows that I requested a GET, and there are no routes error.
>
> But from CURL I get route error:
>
> Started POST "/admin/accounts/133/portals/update" for 127.0.0.1 at Wed Jun
> 15 11:06:50 +0200 2011
>
> ActionController::RoutingError (No route matches
> "/admin/accounts/133/portals/update"):
>
> But you can see that the ID was there:
> /admin/accounts/133/portals/update
>
>
Oh I am sorry. I missunderstood. Yes, the problem was the portl_id that was
not attached. I mixed up account_id and portal_id. Thank you, it works now.

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