README.rdoc in ads-rails-0.0.5 vs README.rdoc in ads-rails-0.0.6
- old
+ new
@@ -15,10 +15,10 @@
= 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 and test env)
+(Will only show the include tag in production unless renderer has been set)
= Configuration
If you want to renderer different the placeholder, put something like this in your application.rb:
config.ads.renderer = proc { |options| tag(:img, src: "http://placehold.it/#{options[:width]}x#{options[:height]}&text=Google+AdSense") }