On Feb 11, 2010, at 3:06 PM, MichelV69 wrote:
On Feb 10, 9:57 am, Bryan Larsen <[email protected]> wrote:
No fields usually means a permissions problem. One common mistake I
make is trying to access the signup form when logged in, but I have
the
permissions set so that only a Guest can create the object....
Bryan
Hi, Bryan! Yep, you nailed it.
def view_permitted?(field)
true
end
... is required for "Guest" to be able to see the sign-up form.
Thanks for pointing me in the right direction.
Note that this should also work:
def view_permitted?(field)
new_record? || (whatever other stuff you need)
end
That will mean that a User that hasn't been committed to the DB (for
instance, the one used on the lifecycle form) will be viewable.
--Matt Jones
--
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.