I've added a named_scope to my user model called administrators.

  named_scope :administrators, :conditions => { :administrator => true }

That's the part I forgot to mention.  Came about because of how available_to 
evaluates.  A true value doesn't work, it has to be a record, collection or 
class that encompasses the acting user somehow.  Admin users are usually 
small(ish) group so passing the whole collection of admins usually isn't an 
issue.

-- 
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.

Reply via email to