Displaying 1 result from an estimated 1 matches for "show_service".
Did you mean:
show_device
2006 Jan 10
0
Paginate with two tables ?
...; ''create_timestamp DESC'', :include => :contract
But I''m getting error:
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
18: <td>
19:
20: <% for contract in subscriber.contract %>
21: #<%= link_to show_service(contract.service_id), { :controller =>
''contracts'',:action => ''show'', :id => contract.id } %></br>
The error occured while evaluating nil.each
Of course there is above line 18 something like <% for subscriber in
@subscribers ...
But ...:
va...