No, you've mentioned top posting and your dislike of it countless times. 🌶
> On Jan 2, 2016, at 4:38 PM, Colin Law <clanlaw@gmail.com> wrote:
>
>> On 2 January 2016 at 22:21, <jelinek@gmail.com> wrote:
>> Why not kindly pointing out the error and offer a suggestion to assist the OP instead?
>
> Because one learns more by working out the error for oneself. If the
> OP goes and looks at the documentation that he thought said that he
> should be able to do this then he will see the error. If he cannot
> work it out then I assume he will ask again.
>
>> Yes. I'm top posting.
>
> Should I just point out the way to fix that or should I point you to
> documentation that will help you to fix it for yourself?
>
> Colin
>
>>
>>>> On Jan 2, 2016, at 3:44 PM, Colin Law <clanlaw@gmail.com> wrote:
>>>>
>>>> On 2 January 2016 at 20:51, fugee ohu <fugee279@gmail.com> wrote:
>>>> def create
>>>> @school = current_user.build_school(school_params)
>>>>
>>>> causes the above error my models are users has_one profile, profile has_many
>>>> schools, profile belongs_to user, school belongs_to profile
>>>
>>> What makes you think that current_user.build_school is valid code?
>>>
>>> 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%3D0gLuZmYtmNi_9jWESuqO5ru_sp78uY7FwAtVo-VAg0BbaNg%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/1B5726EC-44E1-4E59-88D2-4536B5BD68BC%40gmail.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/CAL%3D0gLvpK_bAGGNnxqW2Mb4E2g56hVfHGaoRVWiwLD8d8Vitiw%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/8C73A13E-1C57-458F-B7FF-E32E8A07CB12%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment