Six-String-Samurai/Stomping-Ground — Issue #3: Restarted server without signing out throws an error
Author: Six-String-Samurai
Created: 2011-12-13 15:09:50+00:00
State: open

Errors: NoMethodError at /contacts/all/false
undefined method `manager' for nil:NilClass

CONTACTS
NEW
TASKS
PROFILE
<% unless session[:org] == nil %>
<% employ = Employment.last(:conditions => {:user_id => session[:user], :organization_id => session[:org]} ) %>
This line -------> <% unless employ.manager == false then %>
MANAGE
<% end %>
<% end %>
SIGN OUT