On Jan 9, 8:49 am, bingo bob <[email protected]> wrote:

> So what might the apps_controller update action look like to receive the
> request and update the popularity count by one...I pretty much think I
> can solve that myself really I just want to know my thinking it on the
> right lines.
>
> One thing, rake routes says PUT - is that the same as post?
>
Nope. PUT and POST are two different methods

> What would the URL look like that I ask my iOS dev for, is it as simple
> as what follows - any gotchas?
>
> I imagine...(POST to...)http://server.com/apps/456
>
> def update
>  find App record 456 and update it's popularity count
> end
>
> Is it really that simple ?
>
sounds about right.

Fred
> --
> Posted viahttp://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