Jacko
Jacko

Reputation: 13195

Rails newbie trying to understand why deployed Rails site has messed up formatting

As a way of learning how to develop with Rails, I have cloned a rails app here

https://github.com/boxerab/redis-io

and have deployed to Heroku:

https://gigacrunch.herokuapp.com/

The original site is hosted here: http://redis.io/

When comparing the two sites, the page formatting seems messed up for my Heroku hosted site.

Being a beginner, I am not sure how to start investigating why the formatting would be so different if the Rails code is the same.

Any guidance here would be very much appreciated.

Thanks!

Upvotes: 0

Views: 40

Answers (1)

AdamCooper86
AdamCooper86

Reputation: 4237

So it is clearly a problem with your assets, your css/js. If you use your devtools (chrome inspect element) on the page and look at the sources tab, it will show that the css file (http://polar-wave-5104.herokuapp.com/styles.css?1449091320 ) isn't loading. I don't know why, without more information, but that should be a place to start exploring.

Upvotes: 1

Related Questions