passing a parameter only if not blank

nil params aren't passed, so you could do:

   :manager => @manager.blank? ? nil : @manager