I got around this by removing the line and making the relationship
attr_protected instead.

On May 19, 5:20 pm, kevinpfromnm <[email protected]> wrote:
> heh, yeah but there's hobo magic there or supposed to be.  it should
> recognize that the only valid option is bidder = acting_user and hide
> the input which it does on the new page if I manually type in the
> url.  problem is the link to the new page doesn't show up.
>
> On May 19, 3:55 pm, storitel <[email protected]> wrote:
>
>
>
> > i'm taking a risk here, since you clearly know way more about this
> > stuff than me, but it seems to me that you can't expect bidder_is to
> > be true for a bid that hasn't been created yet?
>
> > i'll get my coat...
>
> > On 19 May, 20:53, kevinpfromnm <[email protected]> wrote:
>
> > > problem is, new link doesn't show up when I have the bidder_is?
> > > acting_user on create_permitted?
>
> > > got this setup (equivalent):http://gist.github.com/406754
>
> > > when I replace bidder_is? acting_user with true, the link shows up but
> > > the new form includes the bidder field.  I thought it might be an
> > > association name thing so I've tried it with association as user as
> > > well as the variants that are equivalent to bidder_is? acting_user (ie
> > > bidder == acting_user, bidder_id == acting_user.id, etc.)
>
> > > putting in a <%= can_create? this %> (or creatable_by? current_user)
> > > at the point it would add a link shows true.
>
> > > --
> > > 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 
> > > athttp://groups.google.com/group/hobousers?hl=en.
>
> > --
> > 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 
> > athttp://groups.google.com/group/hobousers?hl=en.
>
> --
> 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 
> athttp://groups.google.com/group/hobousers?hl=en.

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

Reply via email to