Re: [Rails] Rails 4 "belongs_to: record" association doesn't work
On 19 July 2013 17:02, Walter Lee Davis <waltd@wdstudio.com> wrote:
>
> On Jul 19, 2013, at 11:41 AM, Colin Law wrote:
>
>> On 19 July 2013 15:24, David <piegza@workhub.com> wrote:
>>> It would be weird if there are some reserved words for association names...
>>> and they are not documented.
>>
>> It may well be reserved in other situations also. No reserved words
>> are documented as far as I know.
>
> I started one here: http://reservedwords.herokuapp.com
>
> I scraped the Rails Wiki before it went entirely away, and I also found another list somewhere (maybe StackOverflow) and merged the two. Only two people ever signed up to add more words, so it kind of died on the vine. If you want to contribute, you are certainly welcome to do so.
Am I the only one to be continually embarrassed when google turns up
results showing that I should have known the answer already? It
appears that it was my suggestion that you started that list. [1]
I have made sure to bookmark the url now and if I find a new one will update it.
Could I suggest you make the title "Reserved Words in Ruby on Rails"
as my initial search included the word ruby so yours did not turn up.
I usually include ruby when searching for rails as it reduces the
number of rolling stock hits.
Colin
[1] https://www.ruby-forum.com/topic/3608697
--
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%3D0gLuEb4SKUZtr_qPTN6rSRsheps5FDPhW1AuW8uHG2hOKXw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home