Google Adsense in my RHTML templates not showing up

This is quite weird. I’m trying to put a few Google ads in my app to
test placement, but they don’t show up. I’m in production mode and
have tried restarting the server etc.

If I view page source the code is right there and it all looks good.
I’ve put the Adsense code in some partials along with in my layouts/
application.rhtml file. If I take the exact same code and put it in a
static file under: public/test.html it shows up fine.

I know there are a million and a half Rails apps out there with Google
Ads, so I’m sure I’ve overlooked something small. Has anyone else had
this issue? thanks.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs