Update all rails gems to most current point releases
Make attributes attr_accessible in rails_template

Running the tests against rails 2.3.6 was blowing up do to some mass
assignment issues. Fixed it by making all attributes attr_accessible.
Do not test against rails 2.3.14 by default

Rails 2.3.14 does not support ruby 1.9.3 so we should take it out and
only test it against old versions of ruby with travis.
Exit unsuccessfully on errors
Merge branch 'update_rails_gemfiles' into 1-3-stable
Add auto_index_callback and auto_remove_callback config option

* Auto index and auto removal can now be done in the after_commit
  callback in Rails 3, which is a better option in general because the
  transaction will have been finished.
* Since switching to after_commit might be a breaking change for some
  (especially in tests), it was decided to add a config option that
  defaults to after_save.
* Tests run with database_cleaner so we can run certain ones in real
  transactions, as opposed to the transaction the test normally runs in
Fixes the build under Rails 2
Upgrades RSpec to avoid bug that makes the build fail on 3.0.x and 3.1.x
Cleans up detecting the Rails major version
Merge pull request #249 from sunspot/vanstee-switch_to_after_commit

Auto index and auto remove callbacks can be configured