Re: Re: Re: Association In rails

Colin Law
Mon, 16 Jul 2012 15:34:38 -0000

On 16 July 2012 16:31, Jean-Sébastien D.
<lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
wrote:
> Colin Law wrote in post #1068930:
>> On 16 July 2012 16:03, Jean-Sbastien D.
<lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:
>>>> Give us a clue.  Are you getting an error of some sort?  If so
it
>>> tv_show it show me #<TvShow:0xb69ca84 which i am assuming is
making a
>>> reference to memory because the relations don''t work. Not
to sure how to
>>> test it in Ruby console otherwise
>>
>> Is it your code that is showing it wrong or is it inside activeadmin?
>> If it is your code then show us the bit of code displaying it.  If it
>> is activeadmin then I can''t help I am afraid.
>>
>> Colin
>
> I believe it is active_admin, but i am just wondering if the Association
> above seem to be correct, or i am totally missing the point of ruby on
> rails association, like did i make mistake

It looks ok to me.

Colin

--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.