Displaying 2 results from an estimated 2 matches for "tests_controller".
Did you mean:
test_controller
2009 Oct 23
4
error: nested-routes with nested-model having foreign keys
...ts/index.html.erb. Please help.
How line 24 works and not 25 :?
- Ninad
**** ERROR ****
NoMethodError in Tests#index
Showing app/views/tests/index.html.erb where line #25 raised:
You have a nil object when you didn''t expect it!
The error occurred while evaluating nil.username
**** tests_controller.rb ***
@project = Project.find(params[:project_id])
@tests = @project.tests.find(:all, :include =>
[:owner, :project, :category])
**** index.html.erb ****
20: <% @tests.each do |testcase| %>
21: <tr>
22: <td><%=h test.status %></td>
23: <td&g...
2008 Feb 01
4
Help with link_to_remote
Hi!.
Is there a way to call to another controller with link_to_remote?
Something like this:
<%= link_to_remote "Tests", {
:controller => "tests",
:action => "tester"
}
%>
Salu2...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To