> The other possibility would be to use the options attribute on the
> associated select-one:
>
> <select-one:location options="&Asset.find_by_asset_category_type_id(1)"/>
>
> Bryan
Thanks! That put me on the right track. I had to define my select-
one as follows:
<select-one options="&Asset.joins(:asset_category
=> :asset_category_type).where('asset_categories.asset_category_type_id'
=> 1) "/>
--
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.