Thanks, i did some debugging on the permission methods which are
called in the model instances and the the acting_user method is
returning nil which was causing an exception.
The documentation says: "This method will always return a user object,
even if no one is logged in to the app"
I created this instance method for different models and displayed in
an ERB snippet <%
def return_user
acting_user.nil? ? 'nil' : acting_user
end
And I get nil
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.