init.rb in by_star-0.7.0 vs init.rb in by_star-0.7.1
- old
+ new
@@ -1,2 +1,3 @@
require 'by_star'
-ActiveRecord::Base.send :include, ByStar
+ActiveRecord::Base.send :include, ByStar
+ActiveRecord::Relation.send :include, ByStar if ActiveRecord.const_defined?("Relation")
\ No newline at end of file