Ruby on Rails Sunday, May 3, 2015

On May 3, 2015, at 11:28 AM, Colin Law <clanlaw@gmail.com> wrote:

> On 3 May 2015 at 15:52, Walter Lee Davis <waltd@wdstudio.com> wrote:
>>
>> On May 3, 2015, at 10:40 AM, Walter Lee Davis <waltd@wdstudio.com> wrote:
>>
>>> If it's just the name of the model, I will be frankly surprised, because each revision of Rails seems to remove reserved words, not add new ones.
>>
>> Thanks, Colin, for being able to state the obvious. Changing the model name made all the difference. Good to know, because I was starting to have some trust issues here...
>
> I think the reason is that assets are served directly by the web
> server, hence the request did not get to rails at all.

That doesn't jibe with what I am seeing in the rest of the application. I can GET them, and they go all the way through Rails, I can index them, and I can POST to the collection and create a new asset. It's just PATCH and PUT on the individual asset object that are affected.

I agree that changing the name is the expedient fix (although it's going to be hard to find another "neutral" name for "sub-project element that might be an image or a Flash banner ad or H264 movie"). I guess I'll call them Element, unless you have another suggestion.

Thanks again for your help,

Walter

>
> Colin
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLs4_u1bELXnSccPi%3DwoRvEnX36ocJAUQZ9xWkea%3DV2-pA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/959CC0B7-629D-4BCA-928D-25A38EC81AAD%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment