Thanks for the quick reply, Bryan!

On Tuesday, January 22, 2013 10:19:15 AM UTC-5, Bryan Larsen wrote:
>
> Check your permissions on both the child model and the parent model. 
> If Hobo is refusing to display a link or to put an editor on a field, 
> it's likely because the edit permissions on your models are not set to 
> allow it. 
>

Boy, it would be cool if that was all it was; I hadn't thought of that, 
because I don't understand permissions all that well. Is that 
edit_permitted?

  def edit_permitted?(attribute)
    return true if acting_user.administrator?
    return self.is_owner?(acting_user)
  end

I'm both an administrator and the owner of these models. This block is in a 
module included by both parent and child models.

pjm

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