crafterm/comma — pull request #27 by tommeier (2011-12-17 10:31:36+00:00)
Title: Minimalist gem setup, deprecation warnings removed, run tests across rails 2 + 3

So a few things, I'm not sure if you'll want to pull it in, but heres the option if you (or others) want it :

* Fixed it for Activerecord 3+ to use Relations instead of named_scopes
* I've stripped out jewler, not necessary anymore, and handled with a slimmed down bundler gem generated setup.
* Removed the deprecation warning when using class_attribute on Object, if it is available (IE: when active_support 3.x is loaded)
* Add appraisal, which allows the test suite to be run over multiple gem files (bundle exec rake appraisal spec), this shows it as failing specs when run on activerecord 3+ (before the relations.rb file was added).

I'm a bit undecided, but it feels like trying to solve too many problems right now.. Perhaps it would be better to take rails 2 and rails 3 support out into 2 distinct separate gems, would make testing easier, and reduce the

There is also a Rails3 branch, which i've culled any rails 2 options, will play around with that for a while.