I've got

:javascript

$(function(){
    $('#dg').edatagrid({
        url:        'get_users',
        queryParams: { id: #{key} }
        });
    });

and as far as I can tell, #{key} is not being substituted, though it does if it's not in the :javascript block. From the documentation, I think this should work. Is there a different syntax or other way to accomplish this?

Thanks.