It's breaking because you've dropped the ":bazs". You still need to tell Rapid what field to set. Try
<check-many:bazs options="&Baz.where(:reference => 'A')"/> Bryan On Tue, Jan 17, 2012 at 9:42 PM, hobo_hippy <[email protected]> wrote: > That's what I'm talking about! awesome. Still got one last hiccup I > can't seem to figure out. > > If i do <check-many:bazs/> it works fine > If i do <check-many options="&Bazs"/> the page breaks. it also breaks > if i do > <check-many options="&bazs"/> > <check-many options="&baz"/> > <check-many options="&Baz"/> > <check-many options="&Baz.all"/> > > I'm sure this is either a syntax issue or perhaps a contextual issue, > but I can't figure it out :( > > my context is as follows: > > <repeat with="&@foo"> > <form with="&this.bar.build"> > <check-many options="&Bazs"/> > <submit label="add"/> > </form> > </repeat> > > which is what i thought should work > > and to be clear: > foo has_many bar > bar has_many baz > > and I know the relations work out ok because this works with the > <check-many:bazs/> syntax > > so what's going on here. I appreciate all the help! > > > -- > 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. > -- 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.
