Hi! Thanks for your quick answer On Apr 30, 2:26 pm, Bryan Larsen <[email protected]> wrote: > does `allowed=n.view_permitted?` not work?
No, it returns "wrong number of arguments (0 for 1)" How to pass the correct attribute? I have tried nil, acting_user, ... but the answer is (in both cases) : "You have a nil object when you didn't expect it! The error occurred while evaluating nil.signed_up?" > n has to come from somewhere -- is it in the object or can you pass it > in to to_code_permitted? Yes, this is exactly what I don't know. The CodeGen has no association with the Node (n), the only relationship between them is through the argument to_code(n). Still not solved but many thanks for your quick answer. Tx. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
