<img src=“https://codeclimate.com/github/mattways/ads-rails.png” /> <img src=“https://travis-ci.org/mattways/ads-rails.png?branch=master” alt=“Build Status” /> <img src=“https://gemnasium.com/mattways/ads-rails.png” alt=“Dependency Status” />
Adds a simple helper to create the google adsense include tag.
Put this line in your Gemfile:
gem 'ads-rails'
Then bundle:
$ bundle
In your layout add a line like this in your head:
= google_adsense_include_tag :client => 'client', :slot => 'slot', :width => 'width', :height => 'height'
(Will only show the include tag in production env)