I see some issue with eager loading. This post is little confusing. I
will create another one.
--~--~-~--~~~---~--~~
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 rubyonra
it is test not testcase!
On Oct 24, 9:40 am, Sijo k g wrote:
> Hi
>
> > 20: <% @tests.each do |testcase| %>
> > 21:
> > 22: <%=h test.status %>
> > 23: <%=h test.defunct %>
> > 24: <%=h test.project.title %>
> > 25: <%=h test.owner.username %>
>
> Is it actually |testcase
Hi
> 20: <% @tests.each do |testcase| %>
> 21:
> 22: <%=h test.status %>
> 23: <%=h test.defunct %>
> 24: <%=h test.project.title %>
> 25: <%=h test.owner.username %>
Is it actually |testcase| or |test| ?
Sijo
--
Posted via http://www.ruby-forum.com/.
--~--~-
I observed that eager loading works when there is only one entry in
tests model.
Strange!
Any suggestions?
On Oct 23, 9:56 pm, nin_d wrote:
> Hi,
>
> I have this Test, User and Project models where every test belongs_to
> a project and project has_many tests.
> Test also belongs_to User as 'own
4 matches
Mail list logo