Re: [Rails] text visible in browser but not in source

2018-12-29 Thread Walter Lee Davis
> On Dec 29, 2018, at 7:13 AM, fugee ohu wrote: > > > > On Saturday, December 29, 2018 at 6:48:22 AM UTC-5, Colin Law wrote: > On Sat, 29 Dec 2018 at 11:16, fugee ohu wrote: > > ... > > It's not clear to me what the response is Can the problem be that my > > request is the full url with

Re: [Rails] Re: text visible in browser but not in source

2018-12-29 Thread fugee ohu
On Saturday, December 29, 2018 at 6:48:22 AM UTC-5, Colin Law wrote: > > On Sat, 29 Dec 2018 at 11:16, fugee ohu > > wrote: > > ... > > It's not clear to me what the response is Can the problem be that my > request is the full url with callback and other query string data Should I > just be

Re: [Rails] Re: text visible in browser but not in source

2018-12-29 Thread Colin Law
On Sat, 29 Dec 2018 at 11:16, fugee ohu wrote: > ... > It's not clear to me what the response is Can the problem be that my request > is the full url with callback and other query string data Should I just be > calling the script without invoking the Struts framework callback but still > provi

Re: [Rails] Re: text visible in browser but not in source

2018-12-29 Thread fugee ohu
On Saturday, December 29, 2018 at 5:48:31 AM UTC-5, Colin Law wrote: > > On Sat, 29 Dec 2018 at 10:36, fugee ohu > > wrote: > > > > json_data = res.body.gsub(/^.+{/, "{").chomp(");") > > json = JSON.parse(json_data) > > JSON::ParserError: 765: unexpected token at > '{\"pvid\":\"ff43f2dc-3f8

Re: [Rails] Re: text visible in browser but not in source

2018-12-29 Thread fugee ohu
On Saturday, December 29, 2018 at 5:48:31 AM UTC-5, Colin Law wrote: > > On Sat, 29 Dec 2018 at 10:36, fugee ohu > > wrote: > > > > json_data = res.body.gsub(/^.+{/, "{").chomp(");") > > json = JSON.parse(json_data) > > JSON::ParserError: 765: unexpected token at > '{\"pvid\":\"ff43f2dc-3f8

Re: [Rails] Re: text visible in browser but not in source

2018-12-29 Thread Colin Law
On Sat, 29 Dec 2018 at 10:36, fugee ohu wrote: > > json_data = res.body.gsub(/^.+{/, "{").chomp(");") > json = JSON.parse(json_data) > JSON::ParserError: 765: unexpected token at > '{\"pvid\":\"ff43f2dc-3f86-42a3-bfa8-49c117e9da6a\",\"scm-cnt\":\"1007.13482.95643.0\", Why have you posted this?

Re: [Rails] Re: text visible in browser but not in source

2018-12-29 Thread fugee ohu
On Saturday, December 29, 2018 at 5:01:03 AM UTC-5, Colin Law wrote: > > On Sat, 29 Dec 2018 at 09:37, fugee ohu > > wrote: > > .. > >>> JSON::ParserError: 765: unexpected token at > '({"success":true,"code":0,"results":[{"productId":32817 > >> > > ... > > JSON::ParserError: 765: unexpecte

Re: [Rails] Re: text visible in browser but not in source

2018-12-29 Thread fugee ohu
On Saturday, December 29, 2018 at 5:01:03 AM UTC-5, Colin Law wrote: > > On Sat, 29 Dec 2018 at 09:37, fugee ohu > > wrote: > > .. > >>> JSON::ParserError: 765: unexpected token at > '({"success":true,"code":0,"results":[{"productId":32817 > >> > > ... > > JSON::ParserError: 765: unexpecte

Re: [Rails] Re: text visible in browser but not in source

2018-12-29 Thread Colin Law
On Sat, 29 Dec 2018 at 09:37, fugee ohu wrote: > .. >>> JSON::ParserError: 765: unexpected token at >>> '({"success":true,"code":0,"results":[{"productId":32817 >> > ... > JSON::ParserError: 765: unexpected token at > '{\"pvid\":\"805ba4ee-6446-4148-ab0a-ff5e51c0ab24\",\" You have not only take

Re: [Rails] Re: text visible in browser but not in source

2018-12-29 Thread fugee ohu
On Saturday, December 29, 2018 at 2:12:33 AM UTC-5, Colin Law wrote: > > > > On Sat, 29 Dec 2018, 03:42 fugee ohu > wrote: > >> >> >> On Friday, December 28, 2018 at 5:00:46 PM UTC-5, Colin Law wrote: >>> >>> On Fri, 28 Dec 2018 at 21:40, fugee ohu wrote: >>> > ... >>> > I think I just need