To note, I only have the URI in a string as its from a POST from an
external API as JSON Data.
Basically I need this:
I just need the 12345
Obviously, params[:id] won't work so I'm not sure how to get this. I
url = data['referring_site']
event_id = CGI::parse(URI::parse(url).query)
But it didn't work.
Where the referring_site was the URL in question.