Basically the boolean logic gets dropped the way you have written it when you add the logger line. You can get what you're after by doing early termination like:
* return false unless* owner_is?(acting_user) or acting_user.administrator? or acting_user.super? logger.info "OK" Or as a one liner: logger.info "OK" if owner_is?... -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/VYWLigLmM98J. 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.
