=== WARNING: From version 0.0.8 and above we changed the behavior of the renderer to only being use when the environment is not production. --- {Gem Version}[http://badge.fury.io/rb/ads-rails] {}[https://codeclimate.com/github/museways/ads-rails] {Build Status}[https://travis-ci.org/museways/ads-rails] {Dependency Status}[https://gemnasium.com/museways/ads-rails] = Ads Rails Adds a simple helper to create the google adsense include tag. = Install Put this line in your Gemfile: gem 'ads-rails' Then bundle: $ bundle = Usage In your view add a line like this wherever you like: <%= google_adsense_include_tag client: 'client', slot: 'slot', width: 'width', height: 'height' %> (Will only show the include tag in production) = Configuration If you don't like the default color div in development, you can use a custom renderer: config.ads.renderer = lamda { |options| tag(:img, src: "http://placehold.it/#{options[:width]}x#{options[:height]}&text=Google+AdSense") }