Publish: Rails : check local variable in  partial