Skip to content

Instantly share code, notes, and snippets.

@bionicpill
Created August 30, 2011 18:10
Show Gist options
  • Save bionicpill/1181567 to your computer and use it in GitHub Desktop.
Save bionicpill/1181567 to your computer and use it in GitHub Desktop.
if params[:have_showing_request].present?
if params[:have_showing_request] == 'yes'
scope.have_showing_request
elsif params[:have_showing_request] == 'no'
scope.does_not_have_showing_request
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment