README.rdoc in db-charmer-1.7.1 vs README.rdoc in db-charmer-1.8.0.pre1

- old
+ new

@@ -14,11 +14,11 @@ == Installation There are two options when approaching +DbCharmer+ installation: -* using the gem (recommended and the only way of using it with Rails 3.0+) +* using the gem (recommended and the only way of using it with Rails 3.2+) * install as a Rails plugin (works in Rails 2.x only) To install as a gem, add this to your Gemfile: gem 'db-charmer', :require => 'db_charmer' @@ -274,11 +274,11 @@ 1) <tt>:force_slave_reads => false</tt> option for +ActiveRecord+'s <tt>db_magic</tt> method. This option could be used to disable automated slave reads on your models so that you could call <tt>on_slave</tt> or use other methods to enable slave reads when you need it. Example: class User < ActiveRecord::Base - db_magic :slave => slave01, :forced_slave_reads => false + db_magic :slave => slave01, :force_slave_reads => false end 2) <tt>force_slave_reads</tt> +ActionController+ class method. This method could be used to enable per-controller (when called with no arguments), or per-action (<tt>:only</tt> and <tt>:except</tt> params) forced reads from slaves. This is really useful for actions in @@ -580,21 +580,34 @@ - Subscribe using the info page or by sending an email to mailto:db-charmer-subscribe@googlegroups.com == What Ruby and Rails implementations does it work for? -We have a continuous integration setup for this gem on with Rails 2.2, 2.3 and 3.0 using a few -different versions of Ruby. For more information about the build matrix please visit -http://github.com/kovyrin/db-charmer-sandbox web site. +We have a continuous integration setup for this gem on with Rails 2.3, 3.0, 3.1 and 3.2 using a few +different versions of Ruby. -In addition to CI testing, we use this gem in production on Scribd.com (one of the largest RoR +CI is running on TravisCI.org: https://travis-ci.org/kovyrin/db-charmer + +At the moment we have the following build matrix: + +* Rails versions: + - 2.x {<img src="https://secure.travis-ci.org/kovyrin/db-charmer-sandbox.png?branch=rails23" alt="Build Status: Rails 2.x" />}[https://travis-ci.org/kovyrin/db-charmer-sandbox] + - 3.x {<img src="https://secure.travis-ci.org/kovyrin/db-charmer.png?branch=master" alt="Build Status: Rails 3.x" />}[https://travis-ci.org/kovyrin/db-charmer] +* Ruby versions: + - 1.8.7 + - Ruby Enterprise Edition (1.8.7) + - 1.9.3 (Rails 3 only since older versions do not support new ruby releases) +* Databases: + - MySQL + +In addition to CI testing, this gem is used in production on Scribd.com (one of the largest RoR sites in the world) with Ruby Enterprise Edition and Rails 2.2, Rails 2.3, Sinatra and plain Rack applications. -Starting with version 1.7.0 we support Rails 3.0, but until further notice we consider it a -beta-quality feature since we do not run any production software on this version of Rails. If you -run your application on Rails 3.0, please contact the author. +Starting with version 1.8.0 we support Rails versions up to 3.2.8. Please note, that Rails 3.2.4 +is not officially supported. Your code may work on that version, but no bug reports will be +accepted about this version. == Who are the authors? This plugin has been created in Scribd.com for our internal use and then the sources were opened for @@ -603,10 +616,14 @@ Other contributors who have helped with the development of this library are (alphabetically ordered): * Allen Madsen * Andrew Geweke * Ashley Martens +* CauĂȘ Guerra +* David Dai * Dmytro Shteflyuk * Eric Lindvall +* Eugene Pimenov +* Jonathan Viney * Gregory Man * Michael Birk * Tyler McMullen