Rails 5 redirect_back with url query parameter option
Rails 5 redirect_back with url query parameter option According to the docs: redirect_back(fallback_location:, allow_other_host: true, **args) :fallback_location Referer :allow_other_host And redirect_to allows me to add params to the url just by passing them as a hash redirect_to So, why do none of these work for me: redirect_back fallback_location: tasks_path, allow_other_host: false, syncing: true redirect_back fallback_location: tasks_path, allow_other_host: false, { syncing: true } redirect_back fallback_location: tasks_path, allow_other_host: false, options: { syncing: true } redirect_back(fallback_location: tasks_path, allow_other_host: false, options: { syncing: true }) redirect_back(fallback_location: tasks_path, allow_other_host: false, syncing: true) ...and any other iteration on the above that I could think of. All of them (that are valid code), just return me back without the added parameter I'm trying to achieve this URL: (back_url or fallback_location) + '?synci...