I think these would be cleaner written as
```ruby
query_conditions[:feed_id] = params[:feed] if params[:feed]
query_conditions[:screen_id] = params[:screen] if params[:screen]
if query_conditions.empty?
  # code if true
else
  # code if false
end
```
I favor the ```if``` statements at the end, then you can drop the then and end statements