I was running into a problem with a parameter inside a statement.  I took 
it out and captured it in a variable and it worked.

Can I not use params directly?

res = DR[:tablename].where{{thisfield: params[:thisfieldvalue], status: 
'active'}}.to_a

Cheers

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/4d6df7a3-0a3f-4cb6-952e-ba15f7b54b20n%40googlegroups.com.

Reply via email to