How to use will_paginate and ambition together?

Hi,

I need to add filtering to my app. Long time ago I was using ez_where
plugin, but it seems that there's ambition now. I'm already using
will_paginate for pagination and was wondering if it's possible to use
them together.

Also in ez_where I could do something like this:

cond = Caboose::EZ::Condition.new do
  foo == 'bar' unless params[:filter][:country].blank?
  baz <=> (1..5) if something
end

Is it possible to do something similar in ambition? I.e. if
params[:filter][:country] == "", I don't want to include it in the
condition.

Thanks for any tips