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

2018-11-07 Thread fugee ohu
On Wednesday, November 7, 2018 at 12:28:05 PM UTC-5, Jake Niemiec wrote: > > The ui-box class would indicate that it is a react component: > https://github.com/segmentio/ui-box > > React components are run client-side, meaning the text you are looking for > is inserted into the document after t

Re: [Rails] why is HTTP_HOST set to "wrong" value on 2nd nginx server ?

2018-11-07 Thread Hassan Schroeder
On Wed, Nov 7, 2018 at 11:05 AM tom wrote: > it works locally, but the server still show HOSTNAME from server 1, > hence logic failing... > > any ideas? Sure: post your nginx config (or a sample version that demonstrates the problem) along with something showing how you're determining what reque

Re: [Rails] why is HTTP_HOST set to "wrong" value on 2nd nginx server ?

2018-11-07 Thread Colin Law
On Wed, 7 Nov 2018 at 19:05, tom wrote: > > hi, > > i have a nginx server serving a ror app (1). > > now i have added a second server section , different server_name > directive in nginx.conf serving up the same app but with a different > layout based on controlle rlogic based on the HOST_NAME. >

[Rails] why is HTTP_HOST set to "wrong" value on 2nd nginx server ?

2018-11-07 Thread tom
hi, i have a nginx server serving a ror app (1). now i have added a second server section , different server_name directive in nginx.conf serving up the same app but with a different layout based on controlle rlogic based on the HOST_NAME. it works locally, but the server still show HOSTNAME fro

Re: [Rails] Why SPAs are usually a waste of time/money

2018-11-07 Thread Jake Niemiec
My jab at SPA’s Here’s my pointed, but respectful counter-jab. Lot of boiler plate and decision making must be done before we start to attack the business of delivering results to clients. I empathise with you, Angular 1 + PHP was a really rough time. I used to finish a bunch of API’s and watch

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

2018-11-07 Thread Jake Niemiec
The ui-box class would indicate that it is a react component: https://github.com/segmentio/ui-box React components are run client-side, meaning the text you are looking for is inserted into the document after the page runs

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

2018-11-07 Thread Colin Law
On Wed, 7 Nov 2018 at 16:17, fugee ohu wrote: > > Yes, within that context, javascript, how does it happen that the text I'm > viewing in the browser isn't visible in source? It isn't in the source, the DOM is updated using javascript. You should see it in the DOM inspector but not in the sour

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

2018-11-07 Thread fugee ohu
On Wednesday, November 7, 2018 at 11:01:32 AM UTC-5, Colin Law wrote: > > I should think that javascript is involved. I am sure you asked a > similar question before when you were trying to scrape a website and > couldn't find the text in the html. > > Colin > On Wed, 7 Nov 2018 at 15:35, fu

Re: [Rails] How do i web scrape aliexpress from rails (console) or app

2018-11-07 Thread fugee ohu
On Sunday, July 29, 2018 at 4:14:03 AM UTC-4, Colin Law wrote: > > On 29 July 2018 at 03:43, fugee ohu > > wrote: > >> >> >> On Saturday, July 28, 2018 at 10:43:37 AM UTC-4, Colin Law wrote: >>> >>> On 28 July 2018 at 15:32, fugee ohu wrote: >>> On Saturday, July 28, 2018 at 2:53

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

2018-11-07 Thread Colin Law
I should think that javascript is involved. I am sure you asked a similar question before when you were trying to scrape a website and couldn't find the text in the html. Colin On Wed, 7 Nov 2018 at 15:35, fugee ohu wrote: > > I'm not very good with the consoles in chrome and firefox but I could

Re: [Rails] Why SPAs are usually a waste of time/money

2018-11-07 Thread fugee ohu
On Monday, November 5, 2018 at 7:42:19 PM UTC-5, gvim wrote: > > On 30/10/2018 16:05, fugee ohu wrote: > > > > I notice basic staple sites like gmail rely on real time technologies > > like let's say React and ActionCable so things going to follow the need > > for real time > > > > Most bus

[Rails] text visible in browser but not in source

2018-11-07 Thread fugee ohu
I'm not very good with the consoles in chrome and firefox but I couldn't find the text I was looking for in source even though it's displayed as text seemingly, the cursur changes to a vertical line on mouse-over I found this html below in the source How does this html create the text that disp

Re: [Rails] Why SPAs are usually a waste of time/money

2018-11-07 Thread Karthikeyan A K
My jab at SPA's https://mindaslab.github.io/2018/11/07/finally-some-one-speaks-against-single-page-apps.html On Tue, Oct 30, 2018 at 7:22 PM Greg Navis wrote: > Hey! > > I'd like to share an article with you why SPAs are a bad architectural > choice from a business perspective 99% of the time. >