Displaying 1 result from an estimated 1 matches for "uporabnikov".
Did you mean:
uporabnik
2006 May 10
3
NoMethodError
...e my users, then I get:
-----------------------------------------------------
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.each
Extracted source (around line #3):
1: <% @page_title = "Spisek uporabnikov" -%>
2: <table>
3: <% for user in @all_users %>
4: <tr>
5: <th><%= user.name %></th>
-----------------------------------------------------
that''s list_users.rhtml ^
and login_controller.rb ?
--------------------------------------------------...