On Oct 19, 2:45 pm, Damien MATHIEU <
4...@dmathieu.com> wrote:
> On a PUT request, the client does not always know the object's attributes.
> One calculated attribute is enough so you don't know it.
> You might need to update the value of updated_at for example.
>
> On 19 October 2011 16:27, Prem Sichanugrist <
sikand...@gmail.com> wrote:
>
>
>
>
>
>
>
> > -1
>
> > PUT does not need to return the object because client would already know
> > the object's attribute. If the client wants to refresh the object, they
> > should issue another GET request.
>
> > POST returns the newly created object so that the client can cache the
> > object with all of the attributes and id.
>
> > Also, I think changing this would break all applications. If someone
> > supporting this, it should go to Rails 4.0, not 3.2.
>
> > - Prem
>
> > On Oct 19, 2011, at 3:04 AM, Damien MATHIEU wrote:
>
> > Since this commit :