Return variables on request

I’m making a GET-request to http://url/check, and would like return
either “&show=1&” or “&show=2&”, depending on if an IF statement in my
check-method is true or not.

Anyone know how to make this happen?

Sorry, wrong list. My bad.

I’m making a GET-request to http://url/check, and would like return
either “&show=1&” or “&show=2&”, depending on if an IF statement in my
check-method is true or not.

Anyone know how to make this happen?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs