The selection list renders correctly but the parameter value passed
(through url_for) is always 'collection' - fyi, I default :pick_type to
'collection' when a new Picklist object is created.
The selection list renders correctly but the parameter value passed
(through url_for) is always 'collection' - fyi, I default :pick_type to
'collection' when a new Picklist object is created.
Thanks.
The 'link_to' gets rendered at the time the page is loaded and won't
update unless you do some client-side JS, AJAX, or some RJS magic.
You could add an 'onchange' event to your select that will update the
link.