Forum: Ruby on Rails Google Adsense in my RHTML templates not showing up

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Marston A. (Guest)
on 2007-02-27 17:54
(Received via mailing list)
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 topic is locked and can not be replied to.